OIiveirra commented on code in PR #69032:
URL: https://github.com/apache/doris/pull/69032#discussion_r4351602680
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/CheckAnalysis.java:
##########
@@ -224,9 +224,15 @@ private void checkGroupingScalarFunction(Plan plan) {
}
private void checkAggregateFunction(Plan plan) {
+ if (plan instanceof LogicalProject && ((LogicalProject<?>)
plan).isDistinct()) {
+ for (NamedExpression expression : ((LogicalProject<?>)
plan).getProjects()) {
+ checkSpatialGroupingType(expression);
Review Comment:
Fixed in
[79875de07ea](https://github.com/apache/doris/commit/79875de07ea70a5a42151ad8863035e8f1c8dfa3).
FE rejects spatial UNION DISTINCT, INTERSECT/EXCEPT and DISTINCT
ARRAY_AGG/COLLECT_LIST before lowering. UNION ALL, nondistinct scalar lists and
ordinary-key/spatial-value support are retained. Added
both-kind/endian-equivalent Iceberg and GIS regressions; FE UT 89/89 and
regression generation/verification passed. Docs updated in
apache/doris-website#4239.
--
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]