OIiveirra commented on code in PR #69032:
URL: https://github.com/apache/doris/pull/69032#discussion_r4367675590
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/MapAggregateFunction.java:
##########
@@ -56,8 +56,20 @@ public FunctionSignature customSignature() {
.args(MapType.of(keyType, argumentValueType));
}
+ @Override
+ public void checkLegalityBeforeTypeCoercion() {
+ if (getMapType().getKeyType().isSpatialType()) {
Review Comment:
Fixed in 04a4a97c125. DISTINCT MAP aggregates now reject recursively nested
spatial values in FE before lowering. Added both-kind, endian, NULL and
agg_phase=3/4 regression coverage; ordinary DISTINCT and nondistinct
ordinary-key spatial values remain supported. FE tests and the Iceberg
regression passed.
--
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]