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

Jacques Nadeau commented on DRILL-3426:
---------------------------------------

One comment here.  Just like we have to determine that we have to be able to 
read a file before we execute a query/view.  I think the same should be true 
for DROP TABLE.  This should help avoid rm -rf of the root directory of a file 
system.  

This means that corrupted tables wouldn't be able to be dropped.  In those 
situations, I would suggest that maybe we have an enhanced command.  DROP TABLE 
WITH ABANDON or similar.

Lastly, once we add this functionality, it would be nice to add CREATE OR 
REPLACE TABLE AS to CTAS.

> DROP Table
> ----------
>
>                 Key: DRILL-3426
>                 URL: https://issues.apache.org/jira/browse/DRILL-3426
>             Project: Apache Drill
>          Issue Type: New Feature
>          Components: Execution - Flow
>            Reporter: Soumendra Kumar Mishra
>            Assignee: Chris Westin
>




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

Reply via email to