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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to