jiaan.geng created SPARK-38560:
----------------------------------

             Summary: If `Sum`, `Count` with distinct, cannot do partial agg 
push down.
                 Key: SPARK-38560
                 URL: https://issues.apache.org/jira/browse/SPARK-38560
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.3.0
            Reporter: jiaan.geng


Spark could partial push down sum(distinct col), count(distinct col) if data 
source have multiple partitions, and Spark will sum the value again.

So the result may not correctly.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to