support extract query range with user var and fix some bugs

This commit is contained in:
yinyj17
2023-08-08 06:13:14 +00:00
committed by ob-robot
parent c8b34032f9
commit af62662569
17 changed files with 48 additions and 31 deletions

View File

@ -2901,7 +2901,7 @@ int ObTransformPredicateMoveAround::choose_pushdown_preds(
ret = OB_ERR_UNEXPECTED;
LOG_WARN("predicate is null", K(ret), K(expr));
} else if (expr->has_flag(CNT_SUB_QUERY) ||
expr->has_flag(CNT_USER_VARIABLE)) {
expr->has_flag(CNT_DYNAMIC_USER_VARIABLE)) {
// push down a exec param may not a good idea
ret = invalid_preds.push_back(expr);
} else {