Skip to content

Commit

Permalink
do not eliminate duplicate exchange
Browse files Browse the repository at this point in the history
Signed-off-by: Runji Wang <[email protected]>
  • Loading branch information
wangrunji0408 committed Nov 24, 2024
1 parent 35c56fd commit 4a2d2ad
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/planner/rules/partition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,6 @@ static TO_PARALLEL_RULES: LazyLock<Vec<Rewrite>> = LazyLock::new(|| {
"(exchange ?dist ?child)" => "?child"
if partition_is_same("?child", "?dist")
),
rw!("dedup-exchange";
"(exchange ?dist (exchange ?dist2 ?child))" =>
"(exchange ?dist ?child)"
),
]
});

Expand Down

0 comments on commit 4a2d2ad

Please sign in to comment.