fix groupby pushdown report 4007 when upgrade

This commit is contained in:
ChangerR 2024-02-08 07:49:08 +00:00 committed by ob-robot
parent 5a8419b560
commit 3e3a0f46f1

View File

@ -7164,6 +7164,8 @@ int ObLogPlan::check_storage_groupby_pushdown(const ObIArray<ObAggFunRawExpr *>
!pushdown_groupby_columns.empty()) {
can_push = false;
}
} else if (GET_MIN_CLUSTER_VERSION() < CLUSTER_VERSION_4_3_0_0) {
can_push = false;
} else if (group_exprs.count() != 1) {
can_push = false;
} else if (aggrs.count() > 5) {