GitHub user rajeshbalamohan opened a pull request:

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

    [SPARK-14752][SQL] LazilyGenerateOrdering throws NullPointerException

    ## What changes were proposed in this pull request?
    LazilyGenerateOrdering throws NullPointerException when clubbed with 
TakeOrderedAndProjectExec. This causes simple queries like "select i_item_id 
from item order by i_item_id limit 10;" would fail in spark-sql. When 
deserializing in DirectTaskResult, it goes through nested structure in Kryo 
causing NPE for generatedOrdering.
    
    
    ## How was this patch tested?
    Manual testing by running multiple SQL queries in multi node cluster.


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

    $ git pull https://github.com/rajeshbalamohan/spark SPARK-14752

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

    https://github.com/apache/spark/pull/12661.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 #12661
    
----
commit e83c9bc87acc794ca3e9a37c999c05550d425e2b
Author: Rajesh Balamohan <rbalamo...@apache.org>
Date:   2016-04-25T13:09:58Z

    [SPARK-14752][SQL] LazilyGenerateOrdering throws NullPointerException with 
TakeOrderedAndProject

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to