[ https://issues.apache.org/jira/browse/HIVE-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148986#comment-13148986 ]
Hudson commented on HIVE-2568: ------------------------------ Integrated in Hive-trunk-h0.21 #1079 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1079/]) HIVE-2568 HIVE-2246 upgrade script needs to drop foreign key in COLUMNS_OLD (Ning Zhang via namit) namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1201091 Files : * /hive/trunk/metastore/scripts/upgrade/mysql/008-HIVE-2246.mysql.sql > 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 > Affects Versions: 0.8.0 > Reporter: Ning Zhang > Assignee: Ning Zhang > 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