Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20357

Introduce initOrUpgradeSchema option to schema tool

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • Standalone Metastore
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HIVE-20357.1.patch
          45 kB
          Daniel Dai
        2. HIVE-20357.2.patch
          45 kB
          Daniel Dai

        Activity

          People

            daijy Daniel Dai
            daijy Daniel Dai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: