GitHub user anoopsharma00 opened a pull request:
https://github.com/apache/trafodion/pull/1628
TRAFODION-3086 DDL on Hive objs: use database and msck support
-- traf "set schema hive.<sch>" now behaves the same as Hive "use <db>".
1) <sch> is validated to exist at set schema time.
2) <sch> is set in Hive environment for that session. Any unqualified
object reference in ddl uses that default schema (database)
-- added support for msck (meta store check) command.
This command repairs database by refreshing untracked files/partitions
in hive metadata.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anoopsharma00/trafodion ansharma_hiveddl_br
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafodion/pull/1628.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1628
----
commit f5885e4fb34a90e99adcf7ec841e70f85e70191a
Author: Anoop Sharma <anoop.sharma@...>
Date: 2018-07-03T17:54:33Z
TRAFODION-3086 DDL on Hive objs: use database and msck support
-- traf "set schema hive.<sch>" now behaves the same as Hive "use <db>".
1) <sch> is validated to exist at set schema time.
2) <sch> is set in Hive environment for that session. Any unqualified
object reference in ddl uses that default schema (database)
-- added support for msck (meta store check) command.
This command repairs database by refreshing untracked files/partitions
in hive metadata.
----
---