GitHub user sameeragarwal opened a pull request:

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

    [SPARK-14870][SQL] Fix NPE in TPCDS q14a

    ## What changes were proposed in this pull request?
    
    This PR fixes a bug in `TungstenAggregate` that manifests while aggregating 
by keys over nullable `BigDecimal` columns. This causes a null pointer 
exception while executing TPCDS q14a.
    
    ## How was this patch tested?
    
    1. Added regression test in `DataFrameAggregateSuite`.
    2. Verified that TPCDS q14a works 


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

    $ git pull https://github.com/sameeragarwal/spark tpcds-fix

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

    https://github.com/apache/spark/pull/12651.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 #12651
    
----
commit 02317d677fbb1c47d553b3075e8127ee486892bc
Author: Sameer Agarwal <[email protected]>
Date:   2016-04-24T07:33:20Z

    Fix NPE in TPCDS q14a

----


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