fix hash hash sharding info bug
This commit is contained in:
parent
63f73fcdc2
commit
cd0687afbf
@ -4521,9 +4521,9 @@ int JoinPath::compute_hash_hash_sharding_info()
|
||||
} else {
|
||||
target_sharding = new (target_sharding) ObShardingInfo();
|
||||
target_sharding->set_distributed();
|
||||
if (use_left) {
|
||||
if (use_left && FULL_OUTER_JOIN != join_type_ && RIGHT_OUTER_JOIN != join_type_) {
|
||||
ret = target_sharding->get_partition_keys().assign(left_join_exprs);
|
||||
} else if (use_right) {
|
||||
} else if (use_right && FULL_OUTER_JOIN != join_type_ && LEFT_OUTER_JOIN != join_type_) {
|
||||
ret = target_sharding->get_partition_keys().assign(right_join_exprs);
|
||||
} else { /*do nothing*/ }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user