forked from apache/hive
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ODP-1672: hive schema upgrade from 3.1.4 to 4.0.0 (#24)
* 1672: hive schema upgrade from 3.1.4 to 4.0.0 * ODP-1672: resolving conflicts for oracle11g.sql file
- Loading branch information
1 parent
71c96ca
commit 68fd48b
Showing
35 changed files
with
13,805 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
metastore/scripts/upgrade/hive/upgrade-3.1.4.3.2.2.0-1-to-3.1.4.hive.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
SELECT 'Upgrading MetaStore schema from 3.1.4.3.2.2.0-1 to 3.1.4'; | ||
|
||
USE SYS; | ||
|
||
DROP TABLE IF EXISTS `VERSION`; | ||
|
||
CREATE OR REPLACE VIEW `VERSION` AS SELECT 1 AS `VER_ID`, '3.1.4' AS `SCHEMA_VERSION`, | ||
'Hive release version 3.1.4' AS `VERSION_COMMENT`; | ||
|
||
SELECT 'Finished upgrading MetaStore schema from 3.1.4.3.2.2.0-1 to 3.1.4'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
3.0.0-to-3.1.0 | ||
3.1.0-to-4.0.0-alpha-1.hive | ||
4.0.0-alpha-1-to-4.0.0-alpha-2.hive | ||
3.1.0-to-3.1.4.3.2.2.0-1 | ||
3.1.4.3.2.2.0-1-to-3.1.4 | ||
3.1.4-to-4.0.0-alpha-2.hive | ||
4.0.0-alpha-2-to-4.0.0-beta-1.hive | ||
4.0.0-beta-1-to-4.0.0.hive |
871 changes: 871 additions & 0 deletions
871
...alone-metastore/metastore-server/src/main/sql/derby/hive-schema-3.1.4.3.2.2.0-1.derby.sql
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
...-metastore/metastore-server/src/main/sql/derby/upgrade-3.1.4.3.2.2.0-1-to-3.1.4.derby.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- Upgrade MetaStore schema from 3.1.4.3.2.2.0-1 to 3.1.4 | ||
|
||
-- This needs to be the last thing done. Insert any changes above this line. | ||
UPDATE "APP".VERSION SET SCHEMA_VERSION='3.1.4', VERSION_COMMENT='Hive release version 3.1.4' where VER_ID=1; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.