spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-9592) First and Last aggregates are calculating the values for entire DataFrame partition not on GroupedData partition.
Date Tue, 04 Aug 2015 12:00:05 GMT

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

Sean Owen updated SPARK-9592:
-----------------------------
    Affects Version/s:     (was: 1.5.0)
     Target Version/s:   (was: 1.4.0)
        Fix Version/s:     (was: 1.5.0)

[~ggupta81] don't set Fix/Target Version
https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark

> First and Last aggregates are calculating the values for entire DataFrame partition not
on GroupedData partition.
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-9592
>                 URL: https://issues.apache.org/jira/browse/SPARK-9592
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.4.0
>            Reporter: gaurav
>            Priority: Minor
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> In current implementation, First and Last aggregates were calculating the values for
entire DataFrame partition and then the same value was returned for all GroupedData in the
partition.
> sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregates.scala
> Fixed the First and Last aggregates should compute first and last value per GroupedData
instead of entire DataFrame.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message