提交 896c3d3f 编写于 作者: L Larry955 提交者: wangzelin.wzl

[CP] fix hash hash sharding info bug

上级 bcbd68a6
......@@ -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*/ }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册