[ 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 A first attempt at a patch for this issue. Please review and point me in the right direction. Since I haven't worked much with Hive I'm having trouble seeing how the different components work together. It seems like there are two places where the data in a dropped table can be deleted, once in RWTable.java and one in HiveMetaStoreClient.java. Any reason for this duplication? What role does the different *Store objects in the metastore java dir have? This patch does not make sure that a partition drop doesn't delete the original data. Shall I open up a new issue for that? > 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 > > > 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.