You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Lantao Jin (Jira)" <ji...@apache.org> on 2019/11/11 11:16:00 UTC

[jira] [Created] (SPARK-29839) Support STORED AS in CREATE TABLE LIKE

Lantao Jin created SPARK-29839:
----------------------------------

             Summary: Support STORED AS in CREATE TABLE LIKE
                 Key: SPARK-29839
                 URL: https://issues.apache.org/jira/browse/SPARK-29839
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Lantao Jin


In SPARK-29421, we can specify a different table provider for {{CREATE TABLE LIKE}} via {{USING provider}}. 
Hive support STORED AS new file format syntax:
{code}
CREATE TABLE tbl(a int) STORED AS TEXTFILE;
CREATE TABLE tbl2 LIKE tbl STORED AS PARQUET;
{code}
For Hive compatibility, we should also support {{STORED AS}} in {{CREATE TABLE LIKE}}.



--
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