GitHub user liancheng opened a pull request:

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

    [SPARK-14346][SQL] Native SHOW CREATE TABLE for Hive tables/views

    ## What changes were proposed in this pull request?
    
    This is a follow-up of #12781. It adds native `SHOW CREATE TABLE` support 
for Hive tables and views. A new field `fullyMapped` is added to `CatalogTable` 
to indicate whether all table metadata retrieved from the concrete underlying 
external catalog (i.e. Hive metastore in this case) can be mapped to fields in 
`CatalogTable`. This flag is useful when the target Hive table contains 
structures that can't be handled by Spark SQL, e.g., skewed columns and storage 
handler, etc..
    
    ## How was this patch tested?
    
    New test cases are added in `ShowCreateTableSuite` to do round-trip tests.

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

    $ git pull https://github.com/liancheng/spark 
spark-14346-show-create-table-for-hive-tables

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

    https://github.com/apache/spark/pull/13079.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 #13079
    
----
commit b3cc55fcc7be773cb322042dc16303dc2abcdb53
Author: Cheng Lian <[email protected]>
Date:   2016-05-12T15:23:03Z

    Native SHOW CREATE TABLE for Hive tables/views

----


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