Sahil Takiar has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14792
Change subject: IMPALA-9188: Composite primary keys should use same constraint name ...................................................................... IMPALA-9188: Composite primary keys should use same constraint name After IMPALA-9104, dataload started failing when USE_CDP_HIVE=true because of HIVE-16603 (Enforce foreign keys to refer to primary keys or unique keys), which is in Hive 3 but not Hive 2. This patch fixes a bug from IMPALA-2112 where Impala was generating a unique constraint name for each column in a composite primary key, rather than using the same constraint name for each column. Testing: * Ran dataload + core tests with USE_CDP_HIVE=[true/false] Change-Id: I7a91658945b0355753c3cf05be195757b37edaf4 --- M fe/src/main/java/org/apache/impala/analysis/TableDef.java 1 file changed, 4 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/92/14792/1 -- To view, visit http://gerrit.cloudera.org:8080/14792 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I7a91658945b0355753c3cf05be195757b37edaf4 Gerrit-Change-Number: 14792 Gerrit-PatchSet: 1 Gerrit-Owner: Sahil Takiar <[email protected]>
