Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-1820 Make Hive database data center aware
  3. HIVE-1836

Extend the CREATE DATABASE command with DBPROPERTIES

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • None
    • None
    • Reviewed

    Description

      We should be able to assign key-value pairs of properties to Hive databases.

      The proposed syntax is similar to the CREATE TABLE and CREATE INDEX commands:

      CREATE DATABASE <DB_NAME> WITH DBPROPERTIES ('key1' = 'value1', 'key2' = 'value2');
      

      The

      DESC DATABASE EXTENDED <DB_NAME>;
      

      should be able to display the properties. (requires HIVE-1821)

      Attachments

        1. HIVE-1836.patch
          21 kB
          Ning Zhang

        Issue Links

          Activity

            People

              nzhang Ning Zhang
              nzhang Ning Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: