You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2022/03/17 08:55:00 UTC

[jira] [Resolved] (SPARK-38560) If `Sum`, `Count`, `Any` accompany distinct, cannot do partial agg push down.

     [ https://issues.apache.org/jira/browse/SPARK-38560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenchen Fan resolved SPARK-38560.
---------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 35873
[https://github.com/apache/spark/pull/35873]

> If `Sum`, `Count`, `Any` accompany 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
>            Assignee: jiaan.geng
>            Priority: Major
>             Fix For: 3.4.0
>
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org