You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2018/08/14 22:38:00 UTC

[jira] [Commented] (HIVE-20357) Introduce initOrUpgradeSchema option to schema tool

    [ https://issues.apache.org/jira/browse/HIVE-20357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16580501#comment-16580501 ] 

Thejas M Nair commented on HIVE-20357:
--------------------------------------

There is an unused variable in the new test - 
IMetaStoreSchemaInfo metastoreSchemaInfo = MetaStoreSchemaInfoFactory.get(conf,
Other than that, it looks good.
+1 pending the change and test run.


> Introduce initOrUpgradeSchema option to schema tool
> ---------------------------------------------------
>
>                 Key: HIVE-20357
>                 URL: https://issues.apache.org/jira/browse/HIVE-20357
>             Project: Hive
>          Issue Type: Improvement
>          Components: Standalone Metastore
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>            Priority: Major
>         Attachments: HIVE-20357.1.patch
>
>
> Currently, schematool has two option: initSchema/upgradeSchema. User needs to use different command line for different action. However, from the schema version stored in db, we shall able to figure out if there's a need to init/upgrade, and choose the right action automatically.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)