diff options
author | Cheng Lian <lian@databricks.com> | 2016-05-17 15:56:44 -0700 |
---|---|---|
committer | Yin Huai <yhuai@databricks.com> | 2016-05-17 15:56:44 -0700 |
commit | b674e67c22bf663334e537e35787c00533adbb04 (patch) | |
tree | c08a929a989218159d9046f532616e222dd89848 /yarn/pom.xml | |
parent | 8e8bc9f957de6c0aefbc6ef4b18c421b486477a6 (diff) | |
download | spark-b674e67c22bf663334e537e35787c00533adbb04.tar.gz spark-b674e67c22bf663334e537e35787c00533adbb04.tar.bz2 spark-b674e67c22bf663334e537e35787c00533adbb04.zip |
[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 `hasUnsupportedFeatures` 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.
Author: Cheng Lian <lian@databricks.com>
Closes #13079 from liancheng/spark-14346-show-create-table-for-hive-tables.
Diffstat (limited to 'yarn/pom.xml')
0 files changed, 0 insertions, 0 deletions