[
https://issues.apache.org/jira/browse/KYLIN-5426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yaguang Jia updated KYLIN-5426:
-------------------------------
Description:
After Kylin upgraded Spark3, {{ShowCreateTableCommand}} was changed to
{{{}ShowCreateTableAsSerdeCommand{}}}. {{ShowCreateTableCommand}} has been
changed to {{{}ShowCreateTableAsSerdeCommand{}}}.
{{ShowCreateTableAsSerdeCommand}} can only generate DDLs for Hive serde tables,
while {{ShowCreateTableCommand}} shows the command that can be used to create
the Spark DDL syntax for a given table, and for Hive serde tables, this command
will generate Spark DDLs that can be be used to create the corresponding Spark
table.
was:
After Kylin upgraded Spark3, ShowCreateTableCommand was changed to
ShowCreateTableAsSerdeCommand. ShowCreateTableCommand has been changed to
ShowCreateTableAsSerdeCommand.
ShowCreateTableAsSerdeCommand can only generate DDLs for Hive serde tables,
while ShowCreateTableCommand shows the command that can be used to create the
Spark DDL syntax for a given table, and for Hive serde tables, this command
will generate Spark DDLs that can be be used to create the corresponding Spark
table.
> Exporting the table structure API has regressed after the spark3 upgrade
> ------------------------------------------------------------------------
>
> Key: KYLIN-5426
> URL: https://issues.apache.org/jira/browse/KYLIN-5426
> Project: Kylin
> Issue Type: Bug
> Reporter: Yaguang Jia
> Priority: Major
>
> After Kylin upgraded Spark3, {{ShowCreateTableCommand}} was changed to
> {{{}ShowCreateTableAsSerdeCommand{}}}. {{ShowCreateTableCommand}} has been
> changed to {{{}ShowCreateTableAsSerdeCommand{}}}.
> {{ShowCreateTableAsSerdeCommand}} can only generate DDLs for Hive serde
> tables, while {{ShowCreateTableCommand}} shows the command that can be used
> to create the Spark DDL syntax for a given table, and for Hive serde tables,
> this command will generate Spark DDLs that can be be used to create the
> corresponding Spark table.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)