You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/03/16 22:51:05 UTC
[jira] [Updated] (SPARK-28692) Unify SHOW CREATE TABLE after unify
the CREATE TABLE syntax for hive serde and data source table
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org