[
https://issues.apache.org/jira/browse/SPARK-40829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619284#comment-17619284
]
Apache Spark commented on SPARK-40829:
--------------------------------------
User 'zhangbutao' has created a pull request for this issue:
https://github.com/apache/spark/pull/38295
> 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: [email protected]
For additional commands, e-mail: [email protected]