GitHub user cloud-fan opened a pull request:

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

    [SPARK-16397][SQL][WIP] make CatalogTable more general and less hive 
specific

    ## What changes were proposed in this pull request?
    
    `CatalogTable` is an internal interface to represent table metadata in 
Spark SQL, and should be able to express both hive serde table and data source 
table. Due to some hive hacks, data source table only use table properties to 
store its information, and the `CatalogStorageFormat` is very hive specific as 
it's only used by hive serde table currently.
    
    However this is not a good design, the `CatalogTable` is not general enough 
to express data source table if we remove hive hacks in the future.
    
    This PR is trying to make `CatalogStorageFormat` general enough to handle 
all types of tables in Spark SQL.
    
    ## 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 ds-table

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

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

    make CatalogTable more general and less hive specific

----


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