You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "zhangbutao (Jira)" <ji...@apache.org> on 2022/10/18 07:20:00 UTC
[jira] [Updated] (SPARK-40829) STORED AS serde in CREATE TABLE LIKE VIEW does not work
[ https://issues.apache.org/jira/browse/SPARK-40829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhangbutao updated SPARK-40829:
-------------------------------
Description:
SPARK-29839 added the feat for supporting STORED AS in CREATE TABLE LIKE, and we could use this syntax to create a table with specified serde based on a existing *table or view.*
I found that if we create a table based on a {*}view{*}, the serde of created table is always parquet. However, if we use *USING syntax* (SPARK-29421) to create a table with specified serde based a {*}view{*}, we can get the correct serde.
I think we shoud fix this to add specified serde for the created table when using *create table like view* *stored as* syntax.
> STORED AS serde in CREATE TABLE LIKE VIEW does not work
> -------------------------------------------------------
>
> Key: SPARK-40829
> URL: https://issues.apache.org/jira/browse/SPARK-40829
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.4.0
> Reporter: zhangbutao
> Priority: Major
>
> SPARK-29839 added the feat for supporting STORED AS in CREATE TABLE LIKE, and we could use this syntax to create a table with specified serde based on a existing *table or view.*
> I found that if we create a table based on a {*}view{*}, the serde of created table is always parquet. However, if we use *USING syntax* (SPARK-29421) to create a table with specified serde based a {*}view{*}, we can get the correct serde.
> I think we shoud fix this to add specified serde for the created table when using *create table like view* *stored as* syntax.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org