You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (JIRA)" <ji...@apache.org> on 2019/08/12 08:03:00 UTC

[jira] [Created] (SPARK-28692) Unify SHOW CREATE TABLE after unify the CREATE TABLE syntax for hive serde and data source table

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org