[ 
https://issues.apache.org/jira/browse/SPARK-28692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun updated SPARK-28692:
----------------------------------
    Affects Version/s:     (was: 3.0.0)
                       3.1.0

> 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.1.0
>            Reporter: Yuming Wang
>            Priority: Major
>
> {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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to