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

Phabricator updated HIVE-2568:
------------------------------

    Attachment: D369.1.patch

nzhang requested code review of "HIVE-2568 [jira] HIVE-2246 upgrade script 
needs to drop foreign key in COLUMNS_OLD".
Reviewers: JIRA

   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.

  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.

TEST PLAN
  EMPTY

REVISION DETAIL
  https://reviews.facebook.net/D369

AFFECTED FILES
  metastore/scripts/upgrade/mysql/008-HIVE-2246.mysql.sql

MANAGE HERALD DIFFERENTIAL RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/735/

Tip: use the X-Herald-Rules header to filter Herald messages in your client.

                
> 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

        

Reply via email to