Fix filter IN pushdown compact

This commit is contained in:
XIAO-HOU
2024-03-28 09:15:26 +00:00
committed by ob-robot
parent 8804a2d9c7
commit 02f936be1c

View File

@ -293,12 +293,11 @@ int ObPushdownFilterConstructor::is_white_mode(const ObRawExpr* raw_expr, bool &
is_white = true; is_white = true;
} }
need_check = false; need_check = false;
} else if (static_cg_.get_cur_cluster_version() < CLUSTER_VERSION_4_3_1_0 && T_OP_IN == item_type) {
need_check = false;
} else { } else {
if (static_cg_.get_cur_cluster_version() < CLUSTER_VERSION_4_3_0_0) { if (static_cg_.get_cur_cluster_version() < CLUSTER_VERSION_4_3_0_0) {
const ObObjMeta &col_meta = child->get_result_meta(); const ObObjMeta &col_meta = child->get_result_meta();
if (T_OP_IN == item_type) {
need_check = false;
}
for (int64_t i = 1; OB_SUCC(ret) && need_check && i < raw_expr->get_param_count(); i++) { for (int64_t i = 1; OB_SUCC(ret) && need_check && i < raw_expr->get_param_count(); i++) {
if (OB_ISNULL(child = raw_expr->get_param_expr(i))) { if (OB_ISNULL(child = raw_expr->get_param_expr(i))) {
ret = OB_ERR_UNEXPECTED; ret = OB_ERR_UNEXPECTED;