Repository: hive Updated Branches: refs/heads/master 042698ce2 -> ee802dba3
HIVE-18202: Automatically migrate hbase.table.name to hbase.mapreduce.hfileoutputformat.table.name for hbase-based table (addendum) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/ee802dba Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/ee802dba Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/ee802dba Branch: refs/heads/master Commit: ee802dba3f28d0467bbea045e6aa5c9bfac8e2a5 Parents: 042698c Author: Aihua Xu <aihu...@apache.org> Authored: Wed Jan 24 13:32:02 2018 -0800 Committer: Aihua Xu <aihu...@apache.org> Committed: Wed Jan 24 13:32:02 2018 -0800 ---------------------------------------------------------------------- metastore/scripts/upgrade/postgres/046-HIVE-18202.postgres.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/ee802dba/metastore/scripts/upgrade/postgres/046-HIVE-18202.postgres.sql ---------------------------------------------------------------------- diff --git a/metastore/scripts/upgrade/postgres/046-HIVE-18202.postgres.sql b/metastore/scripts/upgrade/postgres/046-HIVE-18202.postgres.sql index 0fdc615..c054322 100644 --- a/metastore/scripts/upgrade/postgres/046-HIVE-18202.postgres.sql +++ b/metastore/scripts/upgrade/postgres/046-HIVE-18202.postgres.sql @@ -1,6 +1,6 @@ -UPDATE TABLE_PARAMS - SET PARAM_KEY = 'hbase.mapreduce.hfileoutputformat.table.name' +UPDATE "TABLE_PARAMS" + SET "PARAM_KEY" = 'hbase.mapreduce.hfileoutputformat.table.name' WHERE - PARAM_KEY = 'hbase.table.name' + "PARAM_KEY" = 'hbase.table.name' ;