fix move query ref expr across stmts bug

This commit is contained in:
jinmaoli
2023-11-08 06:43:02 +00:00
committed by ob-robot
parent a9c2876a24
commit 38085f4781
6 changed files with 92 additions and 11 deletions

View File

@ -6802,7 +6802,8 @@ int ObOptimizerUtil::check_pushdown_filter_for_set(const ObSelectStmt &parent_st
LOG_WARN("predicate is null", K(ret));
} else if (OB_FAIL(ObRawExprUtils::extract_set_op_exprs(pred, set_op_exprs))) {
LOG_WARN("failed to extract set op exprs", K(ret));
} else if (OB_FAIL(ObTransformUtils::check_pushdown_into_set_valid(pred,
} else if (OB_FAIL(ObTransformUtils::check_pushdown_into_set_valid(&subquery,
pred,
set_op_exprs,
is_simple_expr))) {
LOG_WARN("failed to check pushdown into set", K(ret));