aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorCheng Lian <lian@databricks.com>2016-05-17 15:56:44 -0700
committerYin Huai <yhuai@databricks.com>2016-05-17 15:56:44 -0700
commitb674e67c22bf663334e537e35787c00533adbb04 (patch)
treec08a929a989218159d9046f532616e222dd89848 /python
parent8e8bc9f957de6c0aefbc6ef4b18c421b486477a6 (diff)
downloadspark-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 'python')
0 files changed, 0 insertions, 0 deletions