You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2016/04/09 22:48:25 UTC

[jira] [Created] (SPARK-14507) Decide if we should still support CREATE EXTERNAL TABLE AS SELECT

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