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

ice bai commented on SPARK-15257:
---------------------------------

“but its {color:#FF0000}metadata{color} won't be deleted even when the user 
drops the table”

what metadata can not be deleted?  In Hive Metastore or in SparkSession ?

> 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
>            Priority: Major
>             Fix For: 2.0.0
>
>
> 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
(v7.6.3#76005)

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

Reply via email to