morrySnow commented on code in PR #64458:
URL: https://github.com/apache/doris/pull/64458#discussion_r3418819447
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/NormalizeAggregate.java:
##########
@@ -300,37 +300,51 @@ public LogicalPlan normalizeAgg(LogicalAggregate<Plan>
aggregate, Optional<Logic
}
if (!missingSlotsInAggregate.isEmpty()) {
if (SqlModeHelper.hasOnlyFullGroupBy()) {
- throw new AnalysisException(String.format("PROJECT
expression %s must appear in the GROUP BY"
Review Comment:
这里如果遍历 `missingSlotsInAggregate`,遇到 `!uniformAndNotNull` 再抛异常,然后走下面的补全
`AnyValue` 的逻辑,会有什么问题?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]