GitHub user cloud-fan opened a pull request:

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

    [SPARK-16498][SQL][WIP] move hive hack for data source table into 
HiveExternalCatalog

    ## What changes were proposed in this pull request?
    
    Spark SQL doesn't have its own meta store yet, and use hive's currently. 
However, hive's meta store has some limitations(e.g. columns can't be too many, 
not case-preserving, bad decimal type support, etc.), so we have some hacks to 
successfully store data source table metadata into hive meta store, i.e. put 
all the information in table properties.
    
    This PR moves these hacks to `HiveExternalCatalog`, tries to isolate hive 
specific logic in one place.
    
    It's based on https://github.com/apache/spark/pull/14071
    
    
    ## How was this patch tested?
    
    existing tests.

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

    $ git pull https://github.com/cloud-fan/spark catalog-table

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

    https://github.com/apache/spark/pull/14155.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 #14155
    
----
commit 4d65609ae71b2e30cea7b39e1b5a1a9ecfdd2de4
Author: Wenchen Fan <[email protected]>
Date:   2016-07-06T17:08:43Z

    make CatalogTable more general and less hive specific

commit b218bb72c8c81192e11db2baed9321578c61cb5e
Author: Wenchen Fan <[email protected]>
Date:   2016-07-08T03:07:13Z

    address comments

commit d5199681d03d397292c7866a7777826e7d2eb9fc
Author: Wenchen Fan <[email protected]>
Date:   2016-07-12T14:01:32Z

    move hive hack for data source table into HiveExternalCatalog

----


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