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

Add support for location for managed tables on database

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 4.0.0
    • Hive
    • None

    Description

      I have attached the initial spec to this jira.
      Default location for database would be the external table base directory. Managed location can be optionally specified.

      CREATE (DATABASE|SCHEMA) [IF NOT EXISTS] database_name
        [COMMENT database_comment]
        [LOCATION hdfs_path]
      [MANAGEDLOCATION hdfs_path]
        [WITH DBPROPERTIES (property_name=property_value, ...)];
      
      ALTER (DATABASE|SCHEMA) database_name SET 
      MANAGEDLOCATION
       hdfs_path;
      
      

      Attachments

        1. Hive Metastore Support for Tenant-based storage heirarchy.pdf
          154 kB
          Naveen Gangam
        2. HIVE-22995.9.patch
          137 kB
          Naveen Gangam
        3. HIVE-22995.8.patch
          137 kB
          Naveen Gangam
        4. HIVE-22995.7.patch
          137 kB
          Naveen Gangam
        5. HIVE-22995.6.patch
          132 kB
          Naveen Gangam
        6. HIVE-22995.5.patch
          132 kB
          Naveen Gangam
        7. HIVE-22995.4.patch
          127 kB
          Naveen Gangam
        8. HIVE-22995.3.patch
          116 kB
          Naveen Gangam
        9. HIVE-22995.2.patch
          97 kB
          Naveen Gangam
        10. HIVE-22995.12.patch
          139 kB
          Naveen Gangam
        11. HIVE-22995.11.patch
          138 kB
          Naveen Gangam
        12. HIVE-22995.10.patch
          134 kB
          Naveen Gangam
        13. HIVE-22995.1.patch
          97 kB
          Naveen Gangam

        Issue Links

          Activity

            People

              ngangam Naveen Gangam
              ngangam Naveen Gangam
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 40m
                  4h 40m