GitHub user liancheng opened a pull request:

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

    [SPARK-13709][SQL] Initialize deserializer with both table and partition 
properties when reading partitioned tables

    ## What changes were proposed in this pull request?
    
    When reading partitions of a partitioned Hive SerDe table, we only 
initializes the deserializer using partition properties. However, for SerDes 
like `AvroSerDe`, essential properties (e.g. Avro schema information) may be 
defined in table properties. We should merge both table properties and 
partition properties before initializing the deserializer..
    
    ## How was this patch tested?
    
    New test case added `QueryPartitionSuite`.

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

    $ git pull https://github.com/liancheng/spark 
spark-13709-partitioned-avro-table

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

    https://github.com/apache/spark/pull/13865.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 #13865
    
----
commit 0901218c1f9b5e496d0964b83cfd37c552b97f88
Author: Cheng Lian <[email protected]>
Date:   2016-06-22T23:51:27Z

    Fixes SPARK-13709

----


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