You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2017/12/18 23:15:00 UTC
[jira] [Updated] (HIVE-18298) Fix
TestReplicationScenarios.testConstraints
[ https://issues.apache.org/jira/browse/HIVE-18298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated HIVE-18298:
------------------------------
Attachment: HIVE-18298.1.patch
In the patch, repl dump will split constraint dump file into two: one for foreign key and one for other. While doing repl load, Hive will create all other constraints first, then create foreign keys.
> Fix TestReplicationScenarios.testConstraints
> --------------------------------------------
>
> Key: HIVE-18298
> URL: https://issues.apache.org/jira/browse/HIVE-18298
> Project: Hive
> Issue Type: Bug
> Components: repl
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Attachments: HIVE-18298.1.patch
>
>
> The test if broken by HIVE-16603. Currently on constraints are created without order on replication destination cluster during bootstrap, after HIVE-16603, it is no longer possible. We need to create foreign keys at last after all primary keys are created.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)