Yin Huai created SPARK-14507:
--------------------------------

             Summary: Decide if we should still support CREATE EXTERNAL TABLE 
AS SELECT
                 Key: SPARK-14507
                 URL: https://issues.apache.org/jira/browse/SPARK-14507
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
            Reporter: Yin Huai


Look like we support CREATE EXTERNAL TABLE AS SELECT by accident. Should we 
still support it? Seems Hive does not support it. Based on the doc Impala, 
seems Impala supports it. Right now, seems the rule of CreateTables in 
HiveMetastoreCatalog.scala does not respect EXTERNAL keyword when 
{{hive.convertCTAS}} is true and the CTAS query does not provide any storage 
format. For this case, the table will become a MANAGED_TABLE and stored in the 
default metastore location (not the user specified location). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to