GitHub user rdblue opened a pull request:

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

    SPARK-16178: Remove unnecessary Hive partition check.

    ## What changes were proposed in this pull request?
    
    This removes a check that partition names match from the Hive write path, 
which was added as a sanity check in 
[SPARK-14459](https://issues.apache.org/jira/browse/SPARK-14459). The sanity 
check is incorrect because `partitionBy` could be used to explicitly set 
columns with names that don't match.
    
    This is also no longer exercised because of changes in SPARK-16032. Now, 
Hive's `partition` metadata is derived from the table partitions during the 
analysis phase and will always match.
    


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

    $ git pull https://github.com/rdblue/spark 
SPARK-16178-remove-unnecessary-hive-partition-check

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

    https://github.com/apache/spark/pull/13880.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 #13880
    
----
commit 919f52001f78f9b1de8a0088a3de312dd6447fae
Author: Ryan Blue <[email protected]>
Date:   2016-06-24T00:05:01Z

    SPARK-16178: Remove unnecessary Hive partition check.

----


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