[ 
https://issues.apache.org/jira/browse/HIVE-16603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16217166#comment-16217166
 ] 

Jesus Camacho Rodriguez commented on HIVE-16603:
------------------------------------------------

[~kgyrtkirk], I cannot repro the error, test is passing for me:
{code}
mvn install -Pitests -pl itests/hive-unit -am 
'-Dtest=TestReplicationScenarios#testConstraints'
...
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.hadoop.hive.ql.parse.TestReplicationScenarios
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.654 s 
- in org.apache.hadoop.hive.ql.parse.TestReplicationScenarios
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
...
{code}
Can you share the stacktrace?

> Enforce foreign keys to refer to primary keys or unique keys
> ------------------------------------------------------------
>
>                 Key: HIVE-16603
>                 URL: https://issues.apache.org/jira/browse/HIVE-16603
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>              Labels: TODOC3.0
>             Fix For: 3.0.0
>
>         Attachments: HIVE-16603.patch
>
>
> Follow-up on HIVE-16575.
> Currently we do not enforce foreign keys to refer to primary keys or unique 
> keys (as opposed to PostgreSQL and others); we should do that.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to