Fix functional index blacklist bug and cherry-pick commits

This commit is contained in:
2149
2023-08-02 04:48:17 +00:00
committed by ob-robot
parent 1ebe477f5e
commit 56c2af43e5
5 changed files with 6 additions and 5 deletions

View File

@ -2029,7 +2029,7 @@ int ObTransformPredicateMoveAround::pushdown_through_groupby(
generalized_columns, stmt.get_group_exprs())) {
// do nothing
OPT_TRACE(pred, "has none group by expr, can not pushdown");
} else if (is_mysql_mode() && ObOptimizerUtil::overlap_exprs(
} else if (ObOptimizerUtil::overlap_exprs(
generalized_columns, stmt.get_rollup_exprs())) {
//do nothing
OPT_TRACE(pred, "has rollup expr in mysql mode, can not pushdown");