diff --git a/metastore/scripts/upgrade/hive/upgrade-3.0.0-to-3.1.0.hive.sql b/metastore/scripts/upgrade/hive/upgrade-3.0.0-to-3.1.0.hive.sql new file mode 100644 index 0000000..60ac6f0 --- /dev/null +++ b/metastore/scripts/upgrade/hive/upgrade-3.0.0-to-3.1.0.hive.sql @@ -0,0 +1,7 @@ +SELECT 'Upgrading MetaStore schema from 3.0.0 to 3.1.0'; + +USE SYS; +TRUNCATE TABLE VERSION; +INSERT INTO `VERSION` VALUES (1, '3.1.0', 'Hive release version 3.1.0'); + +SELECT 'Finished upgrading MetaStore schema from 3.0.0 to 3.1.0'; diff --git a/metastore/scripts/upgrade/hive/upgrade.order.hive b/metastore/scripts/upgrade/hive/upgrade.order.hive index e69de29..dd040af 100644 --- a/metastore/scripts/upgrade/hive/upgrade.order.hive +++ b/metastore/scripts/upgrade/hive/upgrade.order.hive @@ -0,0 +1 @@ +3.0.0-to-3.1.0