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

Paul Rogers commented on DRILL-4673:
------------------------------------

>From user mailing list from Vitalii:

I'm going to implement "DROP TABLE IIF EXISTS" and "DROP VIEW IIF EXISTS" 
statements in Drill. The reason of using "IIF" is inability of adding "IF" 
keyword to non-reserved words list (due to SQL:2011 standard which calcite 
parser uses). Adding of "IF" to reserved words list leads to not working hive 
"IF" UDF.

I'm interested are there any concerns with using "IIF"?

> Implement "DROP TABLE IF EXISTS" for drill to prevent FAILED status on 
> command return
> -------------------------------------------------------------------------------------
>
>                 Key: DRILL-4673
>                 URL: https://issues.apache.org/jira/browse/DRILL-4673
>             Project: Apache Drill
>          Issue Type: New Feature
>          Components: Functions - Drill
>            Reporter: Vitalii Diravka
>            Assignee: Vitalii Diravka
>            Priority: Minor
>              Labels: drill
>
> Implement "DROP TABLE IF EXISTS" for drill to prevent FAILED status on 
> command "DROP TABLE" return if table doesn't exist.
> The same for "DROP VIEW IF EXISTS"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to