GitHub user liancheng opened a pull request:

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

    [SPARK-9757] [SQL] Fixes persistence of Parquet relation with decimal column

    PR #7967 enables us to save data source relations to metastore in Hive 
compatible format when possible. But it fails to persist Parquet relations with 
decimal column(s) to Hive metastore of versions lower than 1.2.0. This is 
because `ParquetHiveSerDe` in Hive versions prior to 1.2.0 doesn't support 
decimal. This PR checks for this case and falls back to Spark SQL specific 
metastore table format.

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

    $ git pull https://github.com/liancheng/spark 
spark-9757/old-hive-parquet-decimal

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

    https://github.com/apache/spark/pull/8130.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 #8130
    
----
commit 7a9c045f91d2beef3a7d1694ab8e9d10e47345b4
Author: Cheng Lian <[email protected]>
Date:   2015-08-12T16:26:45Z

    Fixes persistence of Parquet relation with decimal column

----


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