beliefer commented on issue #26656: [SPARK-27986][SQL] Support ANSI SQL filter clause for aggregate expression URL: https://github.com/apache/spark/pull/26656#issuecomment-566468162 > How about single distinct and a normal agg function with FILTER? Is it handled by `RewriteDistinctAggregates`? This PR does not support this situation for the time being. I create another ticket SPARK-30276 and will create another PR to support DISTINCT and FILTER occur at the same time. If single DISTINCT and FILTER occur at the same time, will not handled by `RewriteDistinctAggregates` but `planAggregateWithOneDistinct`.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org