OIiveirra commented on code in PR #69032:
URL: https://github.com/apache/doris/pull/69032#discussion_r4400080608


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/CollectSet.java:
##########
@@ -114,6 +114,10 @@ public Expression resultForEmptyInput() {
     public void checkLegalityBeforeTypeCoercion() {
         // The BE set kernel cannot hash raw VARBINARY; reject it before 
implicit casts change its type.
         for (Expression argument : getArguments()) {
+            // Spatial values also lack a BE collect-set kernel, even when 
admitted by ANY.
+            if (argument.getDataType().isSpatialType()) {

Review Comment:
   Fixed in 29b1f533237 using the existing recursive typeContainsSpatialType 
check. Added Array/Map/Struct and state-combinator tests plus queries against 
actual Iceberg columns. Ordinary-key/spatial-value controls still pass.



-- 
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]

Reply via email to