Andrew Or created SPARK-15276:
---------------------------------

             Summary: CREATE TABLE with LOCATION should imply EXTERNAL
                 Key: SPARK-15276
                 URL: https://issues.apache.org/jira/browse/SPARK-15276
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.0.0
            Reporter: Andrew Or
            Assignee: Andrew Or


If the user runs `CREATE TABLE some_table ... LOCATION /some/path`, then this 
will still be a managed table even though the table's data is stored at 
/some/path. The problem is that when we drop the table we'll also delete the 
data /some/path. This could cause problems if /some/path contains existing data.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to