GitHub user rxin opened a pull request:

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

    [SPARK-7440][SQL] Remove physical Distinct operator in favor of Aggregate

    Distinct is very similar to Aggregate, which is an important operator to 
optimize for.
    This patch replaces Distinct with Aggregate in the optimizer, so Distinct 
will become
    more efficient over time as we optimize Aggregate.

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

    $ git pull https://github.com/rxin/spark replace-distinct

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

    https://github.com/apache/spark/pull/6637.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 #6637
    
----
commit 87e474128f30dc93fd1d1e831408d763d3913178
Author: Reynold Xin <[email protected]>
Date:   2015-06-04T08:20:30Z

    [SPARK-7440][SQL] Remove physical Distinct operator in favor of Aggregate.
    
    Distinct is very similar to Aggregate, which is an important operator to 
optimize for.
    This patch replaces Distinct with Aggregate in the optimizer, so Distinct 
will become
    more efficient over time as we optimize Aggregate.

----


---
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