jayzhan211 commented on issue #15850: URL: https://github.com/apache/datafusion/issues/15850#issuecomment-2848380600
Another idea is that what if we alter this plan to count distinct specific ``` 05)--------AggregateExec: mode=FinalPartitioned, gby=[alias1@0 as alias1], aggr=[] ``` ``` 05)--------AggregateExec: mode=Final, gby=[alias1@0 as alias1], aggr=[], count_distinct_specialized=true ``` And, we return the sum of group keys from each partition, it should be the same result as the output of `02)--AggregateExec: mode=Final, gby=[], aggr=[count(alias1)]`. -- 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]
