Repository: hive Updated Branches: refs/heads/master 19436b701 -> bdbdf0d18
HIVE-19365 Index on COMPLETED_TXN_COMPONENTS in Metastore RDBMS has different names in different scripts (Alan Gates, reviewed by Jesus Camacho Rodriguez) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/bdbdf0d1 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/bdbdf0d1 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/bdbdf0d1 Branch: refs/heads/master Commit: bdbdf0d1896ae1da3cfd2ada128f5d67df248c09 Parents: 19436b7 Author: Alan Gates <ga...@hortonworks.com> Authored: Tue May 1 12:45:31 2018 -0700 Committer: Alan Gates <ga...@hortonworks.com> Committed: Tue May 1 12:45:31 2018 -0700 ---------------------------------------------------------------------- .../src/main/sql/mssql/hive-schema-3.0.0.mssql.sql | 2 +- .../src/main/sql/mysql/hive-schema-3.0.0.mysql.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/bdbdf0d1/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql ---------------------------------------------------------------------- diff --git a/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql b/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql index 6e31b16..4c5739f 100644 --- a/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql +++ b/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql @@ -1029,7 +1029,7 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS( CTC_WRITEID bigint ); -CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX2 ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); +CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); CREATE TABLE HIVE_LOCKS( HL_LOCK_EXT_ID bigint NOT NULL, http://git-wip-us.apache.org/repos/asf/hive/blob/bdbdf0d1/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql ---------------------------------------------------------------------- diff --git a/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql b/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql index 4309911..fd71a1d 100644 --- a/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql +++ b/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql @@ -1000,7 +1000,7 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS ( CTC_WRITEID bigint ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX2 ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION) USING BTREE; +CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION) USING BTREE; CREATE TABLE NEXT_TXN_ID ( NTXN_NEXT bigint NOT NULL