morrySnow commented on code in PR #63888:
URL: https://github.com/apache/doris/pull/63888#discussion_r3331691282


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/Count.java:
##########
@@ -92,7 +92,7 @@ public void checkLegalityBeforeTypeCoercion() {
     public void checkLegalityAfterRewrite() {
         // after rewrite, count(distinct bitmap_column) should be rewritten to 
bitmap_union_count(bitmap_column)
         for (Expression argument : getArguments()) {
-            if (distinct && (argument.getDataType().isComplexType()
+            if (distinct && ((argument.getDataType().isComplexType() && 
!argument.getDataType().isArrayType())

Review Comment:
   1. 是 group by 支持array了 ?还是 multi_count_distinct 支持了?还是都支持了?
   2. 是所有嵌套子类型的 array 都支持了?还是子类型依然有限制?



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