Skip to content

Commit

Permalink
use hash shard
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzl25 committed Jan 29, 2024
1 parent 45b9f35 commit d722b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/optimizer/plan_node/logical_join.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ impl LogicalJoin {
.map(|pos| left_eq_indexes[*pos])
.collect_vec();

RequiredDist::shard_by_key(self.left().schema().len(), &left_dist_key)
RequiredDist::hash_shard(&left_dist_key)
};

let left = self.left().to_stream(ctx)?;
Expand Down

0 comments on commit d722b80

Please sign in to comment.