[ https://issues.apache.org/jira/browse/HIVE-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151666#comment-13151666 ]
Ning Zhang commented on HIVE-2568: ---------------------------------- backported to 0.8.0 > HIVE-2246 upgrade script needs to drop foreign key in COLUMNS_OLD > ----------------------------------------------------------------- > > Key: HIVE-2568 > URL: https://issues.apache.org/jira/browse/HIVE-2568 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 0.8.0 > Reporter: Ning Zhang > Assignee: Ning Zhang > Priority: Blocker > Fix For: 0.8.0, 0.9.0 > > Attachments: D369.1.patch > > > One more bug in the MySQL metastore upgrade script: the foreign key in > COLUMNS needs to be dropped, otherwise drop_partition will fail because the > SDS row cannot be deleted due to the foreign key constraint. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira