GitHub user anoopsharma00 opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/1120

    [TRAFODION-2584] Add support to register hive schemas in traf MD

    This checkin extends jira TRAFODION-2584 to add support to register
    hive schemas(referred to as databases in hive) in trafodion metadata.
    Until now, only hive tables and views were registered.
    Registering hive schemas would allow certain operations, like
    granting/revoking privileges, to be done on a hive schema/database.
    
    Syntax to register/unregister hive schema
      -- register/unregister hive schema hive.sch;
    
    Syntax to show registred hive schemas
      -- get hive registered schemas in catalog trafodion
    
    "showddl schema hive.sch" will now show the ddl for hive database
    creation and whether this schema is registered.
    
    showddl and 'get tables in schema' will now return error if that
    schema doesn't exist.
    
    regress/hive/TEST007 has been extended with additional tests.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/anoopsharma00/incubator-trafodion 
ansharma_br_reghs

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/1120.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 #1120
    
----
commit 8e67ca9e49dffc0d1ed1d5e744c9607b1155adcb
Author: Anoop Sharma <[email protected]>
Date:   2017-06-15T15:14:27Z

    ra TRAFODION-2584 Add support to register hive schemas in traf MD
    
    This checkin extends jira TRAFODION-2584 to add support to register
    hive schemas(referred to as databases in hive) in trafodion metadata.
    Until now, only hive tables and views were registered.
    Registering hive schemas would allow certain operations, like
    granting/revoking privileges, to be done on a hive schema/database.
    
    Syntax to register/unregister hive schema
      -- register/unregister hive schema hive.sch;
    
    Syntax to show registred hive schemas
      -- get hive registered schemas in catalog trafodion
    
    "showddl schema hive.sch" will now show the ddl for hive database
    creation and whether this schema is registered.
    
    showddl and 'get tables in schema' will now return error if that
    schema doesn't exist.
    
    regress/hive/TEST007 has been extended with additional tests.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to