GitHub user hvanhovell opened a pull request:

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

    [SPARK-12024][SQL] More efficient multi-column counting.

    In https://github.com/apache/spark/pull/9409 we enabled multi-column 
counting. The approach taken in that PR introduces a bit of overhead by first 
creating a row only to check if all of the columns are non-null. 
    
    This PR fixes that technical debt. Count now takes multiple columns as its 
input. In order to make this work I have also added support for multiple 
columns in the single distinct code path.
    
    cc @yhuai

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

    $ git pull https://github.com/hvanhovell/spark SPARK-12024

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

    https://github.com/apache/spark/pull/10015.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 #10015
    
----
commit 3fe9cf3373a90c0a0d0bd6e75d44e13905e15458
Author: Herman van Hovell <[email protected]>
Date:   2015-11-27T11:03:28Z

    More efficient multi-column counting.

----


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