spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Or (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-15276) CREATE TABLE with LOCATION should imply EXTERNAL
Date Thu, 12 May 2016 00:30:12 GMT

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

Andrew Or resolved SPARK-15276.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

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


Mime
View raw message