From 3698bc32d06a1edbd94840914a19db6a1d3e62dc Mon Sep 17 00:00:00 2001 From: Deepesh Khandelwal Date: Fri, 1 Dec 2017 10:32:54 -0800 Subject: [PATCH] HIVE-18195: Fix incorrect datatype in postgres schema definition --- metastore/scripts/upgrade/postgres/045-HIVE-17566.postgres.sql | 2 +- metastore/scripts/upgrade/postgres/hive-schema-3.0.0.postgres.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/metastore/scripts/upgrade/postgres/045-HIVE-17566.postgres.sql b/metastore/scripts/upgrade/postgres/045-HIVE-17566.postgres.sql index bd588c40c6..358247b121 100644 --- a/metastore/scripts/upgrade/postgres/045-HIVE-17566.postgres.sql +++ b/metastore/scripts/upgrade/postgres/045-HIVE-17566.postgres.sql @@ -17,7 +17,7 @@ CREATE TABLE "WM_POOL" ( "POOL_ID" bigint NOT NULL, "RP_ID" bigint NOT NULL, "PATH" character varying(1024) NOT NULL, - "ALLOC_FRACTION" DOUBLE, + "ALLOC_FRACTION" double precision, "QUERY_PARALLELISM" integer, "SCHEDULING_POLICY" character varying(1024) ); diff --git a/metastore/scripts/upgrade/postgres/hive-schema-3.0.0.postgres.sql b/metastore/scripts/upgrade/postgres/hive-schema-3.0.0.postgres.sql index 931d3e6a38..065974fda6 100644 --- a/metastore/scripts/upgrade/postgres/hive-schema-3.0.0.postgres.sql +++ b/metastore/scripts/upgrade/postgres/hive-schema-3.0.0.postgres.sql @@ -631,7 +631,7 @@ CREATE TABLE "WM_POOL" ( "POOL_ID" bigint NOT NULL, "RP_ID" bigint NOT NULL, "PATH" character varying(1024) NOT NULL, - "ALLOC_FRACTION" DOUBLE, + "ALLOC_FRACTION" double precision, "QUERY_PARALLELISM" integer, "SCHEDULING_POLICY" character varying(1024) ); -- 2.13.6 (Apple Git-96)