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

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: