spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yin Huai (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-15257) Require CREATE EXTERNAL TABLE to specify LOCATION
Date Wed, 11 May 2016 22:32:12 GMT

     [ https://issues.apache.org/jira/browse/SPARK-15257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yin Huai resolved SPARK-15257.
------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 13032
[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
>             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
(v6.3.4#6332)

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


Mime
View raw message