[
https://issues.apache.org/jira/browse/SPARK-17053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15420398#comment-15420398
]
Gokhan Civan commented on SPARK-17053:
--------------------------------------
I saw a lot of code base that used DROP without IF EXISTS, and did find it
strange. I guess there was an ignorenonexistent variable lurking around
somewhere.
So this variable was somehow built into 1.6.1 and later removed?
> DROP statement should not require IF EXISTS
> -------------------------------------------
>
> Key: SPARK-17053
> URL: https://issues.apache.org/jira/browse/SPARK-17053
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.0.0
> Reporter: Gokhan Civan
>
> In version 1.6.1, the following does not throw an exception:
> create table a as select 1; drop table a; drop table a;
> In version 2.0.0, the second drop fails; this is not compatible with Hive.
> The same problem exists for views.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]