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 2022/10/18 21:57:00 UTC

[jira] [Resolved] (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 ]

Dongjoon Hyun resolved SPARK-40829.
-----------------------------------
    Fix Version/s: 3.3.2
                   3.2.3
                   3.4.0
       Resolution: Fixed

Issue resolved by pull request 38295
[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
>            Assignee: zhangbutao
>            Priority: Major
>             Fix For: 3.3.2, 3.2.3, 3.4.0
>
>
> 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