GitHub user marmbrus opened a pull request:

    https://github.com/apache/spark/pull/6816

    [SPARK-6583][SQL] Support aggregate functions in ORDER BY

    Add aggregates in ORDER BY clauses to the `Aggregate` operator beneath.  
Project these results away after the Sort.
    
    Based on work by @watermen.  Also Closes #5290.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/marmbrus/spark pr/5290

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/6816.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #6816
    
----
commit f11984992bada2aaa3f21eeb57e4c8644fe7e470
Author: Yadong Qi <[email protected]>
Date:   2015-04-21T13:03:40Z

    order by aggregated function

commit a1e87c1a13ebe530671ccdad223ecffc1ba5d800
Author: Yadong Qi <[email protected]>
Date:   2015-06-04T02:04:36Z

    fix conflict

commit 7f9b7360a41fdd33388a9582dad9ad05d9dfba23
Author: Yadong Qi <[email protected]>
Date:   2015-06-09T06:20:32Z

    delete Substring case

commit c8b25c1f8583eb8b657addf424d017041e5d61ee
Author: Yadong Qi <[email protected]>
Date:   2015-06-10T09:22:17Z

    move the test data.

commit eb8938db11287fb7a7581b5a02b5218b148a71fa
Author: Michael Armbrust <[email protected]>
Date:   2015-06-12T04:27:27Z

    no vars

commit 3226a97794d3b1e3d18ad5bdd717c2ef298025c4
Author: Michael Armbrust <[email protected]>
Date:   2015-06-12T04:41:22Z

    consistent ordering

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to