disable single side hash to NULL strong sharding side for set

This commit is contained in:
obdev
2023-02-09 16:36:19 +00:00
committed by ob-robot
parent 772bdd60eb
commit 8efeef908d

View File

@ -2965,7 +2965,9 @@ int ObSelectLogPlan::check_if_set_match_rehash(const EqualSets &equal_sets,
ObSEArray<ObRawExpr*, 8> target_part_keys;
ObShardingInfo *target_sharding = NULL;
is_match_single_side_hash = false;
if (OB_ISNULL(target_sharding = target_child.get_sharding())) {
if (NULL == target_child.get_strong_sharding()) {
/* do nothing */
} else if (OB_ISNULL(target_sharding = target_child.get_sharding())) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("get unexpected null", K(ret));
} else if (!target_sharding->is_distributed_without_table_location() ||