You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by gu...@apache.org on 2017/12/01 21:42:17 UTC

hive git commit: HIVE-18195: Hive schema broken on postgres (Deepesh Khandelwal, reviewed by Sergey Shelukhin)

Repository: hive
Updated Branches:
  refs/heads/master 1b4baf474 -> 4218629de


HIVE-18195: Hive schema broken on postgres (Deepesh Khandelwal, reviewed by Sergey Shelukhin)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/4218629d
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/4218629d
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/4218629d

Branch: refs/heads/master
Commit: 4218629de715df43a1778de03f85e41bc682b1a8
Parents: 1b4baf4
Author: Gunther Hagleitner <gu...@apache.org>
Authored: Fri Dec 1 13:42:02 2017 -0800
Committer: Gunther Hagleitner <gu...@apache.org>
Committed: Fri Dec 1 13:42:02 2017 -0800

----------------------------------------------------------------------
 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(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/4218629d/metastore/scripts/upgrade/postgres/045-HIVE-17566.postgres.sql
----------------------------------------------------------------------
diff --git a/metastore/scripts/upgrade/postgres/045-HIVE-17566.postgres.sql b/metastore/scripts/upgrade/postgres/045-HIVE-17566.postgres.sql
index bd588c4..358247b 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)
 );

http://git-wip-us.apache.org/repos/asf/hive/blob/4218629d/metastore/scripts/upgrade/postgres/hive-schema-3.0.0.postgres.sql
----------------------------------------------------------------------
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 931d3e6..065974f 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)
 );