You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kh...@apache.org on 2015/05/07 21:08:57 UTC
hive git commit: HIVE-10614 : schemaTool upgrade from 0.14.0 to 1.3.0
causes failure (Hari Subramaniyan via Sushanth Sowmyan,
Thejas Nair) (branch-1.2) (addendum fix)
Repository: hive
Updated Branches:
refs/heads/branch-1.2 086eead73 -> 80a8de663
HIVE-10614 : schemaTool upgrade from 0.14.0 to 1.3.0 causes failure (Hari Subramaniyan via Sushanth Sowmyan, Thejas Nair) (branch-1.2) (addendum fix)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/80a8de66
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/80a8de66
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/80a8de66
Branch: refs/heads/branch-1.2
Commit: 80a8de663949ccad0aa75784fa70a70a191b493f
Parents: 086eead
Author: Sushanth Sowmyan <kh...@gmail.com>
Authored: Thu May 7 12:08:06 2015 -0700
Committer: Sushanth Sowmyan <kh...@gmail.com>
Committed: Thu May 7 12:08:06 2015 -0700
----------------------------------------------------------------------
metastore/scripts/upgrade/mysql/hive-schema-1.2.0.mysql.sql | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/80a8de66/metastore/scripts/upgrade/mysql/hive-schema-1.2.0.mysql.sql
----------------------------------------------------------------------
diff --git a/metastore/scripts/upgrade/mysql/hive-schema-1.2.0.mysql.sql b/metastore/scripts/upgrade/mysql/hive-schema-1.2.0.mysql.sql
index 07dce8f..a205ac3 100644
--- a/metastore/scripts/upgrade/mysql/hive-schema-1.2.0.mysql.sql
+++ b/metastore/scripts/upgrade/mysql/hive-schema-1.2.0.mysql.sql
@@ -216,7 +216,7 @@ CREATE TABLE IF NOT EXISTS `PARTITIONS` (
UNIQUE KEY `UNIQUEPARTITION` (`PART_NAME`,`TBL_ID`),
KEY `PARTITIONS_N49` (`TBL_ID`),
KEY `PARTITIONS_N50` (`SD_ID`),
- KEY `PARTITIONS_N51` (`LINK_TARGET_ID`)
+ KEY `PARTITIONS_N51` (`LINK_TARGET_ID`),
CONSTRAINT `PARTITIONS_FK1` FOREIGN KEY (`TBL_ID`) REFERENCES `TBLS` (`TBL_ID`),
CONSTRAINT `PARTITIONS_FK2` FOREIGN KEY (`SD_ID`) REFERENCES `SDS` (`SD_ID`),
CONSTRAINT `PARTITIONS_FK3` FOREIGN KEY (`LINK_TARGET_ID`) REFERENCES `PARTITIONS` (`PART_ID`)