[ 
https://issues.apache.org/jira/browse/SPARK-15257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15278877#comment-15278877
 ] 

Apache Spark commented on SPARK-15257:
--------------------------------------

User 'andrewor14' has created a pull request for this issue:
https://github.com/apache/spark/pull/13032

> Require CREATE EXTERNAL TABLE to specify LOCATION
> -------------------------------------------------
>
>                 Key: SPARK-15257
>                 URL: https://issues.apache.org/jira/browse/SPARK-15257
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Andrew Or
>            Assignee: Andrew Or
>
> Right now when the user runs `CREATE EXTERNAL TABLE` without specifying 
> `LOCATION`, the table will still be created in the warehouse directory, but 
> its metadata won't be deleted even when the user drops the table! This is a 
> problem. We should use require the user to also specify `LOCATION`.
> Note: This doesn't not apply to `CREATE EXTERNAL TABLE ... USING`, which is 
> not yet supported.



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