HIVE-17891 : HIVE-13076 uses create table if not exists for the postgres script (Vihang Karajgaonkar, reviewed by Naveen Gangam)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/ecf97040 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/ecf97040 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/ecf97040 Branch: refs/heads/branch-2.3 Commit: ecf97040a4ff64cfcba37f7fc111cdd995ee8e0f Parents: a2df8f4 Author: Vihang Karajgaonkar <vih...@cloudera.com> Authored: Tue Oct 24 12:32:37 2017 -0700 Committer: Sahil Takiar <stak...@cloudera.com> Committed: Tue Nov 7 08:15:47 2017 -0800 ---------------------------------------------------------------------- metastore/scripts/upgrade/postgres/033-HIVE-13076.postgres.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/ecf97040/metastore/scripts/upgrade/postgres/033-HIVE-13076.postgres.sql ---------------------------------------------------------------------- diff --git a/metastore/scripts/upgrade/postgres/033-HIVE-13076.postgres.sql b/metastore/scripts/upgrade/postgres/033-HIVE-13076.postgres.sql index 9ee7c11..59e702b 100644 --- a/metastore/scripts/upgrade/postgres/033-HIVE-13076.postgres.sql +++ b/metastore/scripts/upgrade/postgres/033-HIVE-13076.postgres.sql @@ -1,4 +1,4 @@ -CREATE TABLE IF NOT EXISTS "KEY_CONSTRAINTS" +CREATE TABLE "KEY_CONSTRAINTS" ( "CHILD_CD_ID" BIGINT, "CHILD_INTEGER_IDX" BIGINT,