Yuming Wang created SPARK-28692:
-----------------------------------
Summary: Unify SHOW CREATE TABLE after unify the CREATE TABLE
syntax for hive serde and data source table
Key: SPARK-28692
URL: https://issues.apache.org/jira/browse/SPARK-28692
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.0.0
Reporter: Yuming Wang
{code:scala}
// TODO: unify this after we unify the CREATE TABLE syntax for hive serde
and data source table.
val stmt = if (DDLUtils.isDatasourceTable(tableMetadata)) {
showCreateDataSourceTable(tableMetadata)
} else {
showCreateHiveTable(tableMetadata)
}
{code}
[https://github.com/apache/spark/blob/d19a56f9dbef4c995d80d4b46d03bfbfa4843c5c/sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala#L947-L952]
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]