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

Johan Oskarsson updated HIVE-86:
--------------------------------

    Attachment: HIVE-86.patch

I've updated the patch to do all the checks server side as suggested, much 
cleaner.
The reason I didn't override the deleteData boolean in the previous patch is 
that I thought it might be useful if someone wanted to force delete an external 
table for whatever reason. It's probably better to be safe then sorry though.
I left in the changes in RWTable, but I assume those file based metastore will 
be removed eventually? It would help reduce confusion. Perhaps open a ticket 
for it?

> drop table should not delete data for external tables
> -----------------------------------------------------
>
>                 Key: HIVE-86
>                 URL: https://issues.apache.org/jira/browse/HIVE-86
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Joydeep Sen Sarma
>            Priority: Critical
>         Attachments: HIVE-86.patch, HIVE-86.patch
>
>
> We should not delete data for external tables.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to