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

Support External only tables for particular databases.

    XMLWordPrintableJSON

Details

    Description

      Goal:
      To be able to support disabling of ACID tables for a particular database.

      Why?:
      There is a use case to support BDR and hive3 replication engines in parallel. This can be used to avoid the creation of ACID tables in DBs replicated by the BDR engine. (BDR does not have the ability to replicate ACID tables)
      Some users might want to use this as well for their legacy DBs while they transition to ACID tables in some newer DBs.

      How?
      A "special" property ("EXTERNAL_TABLES_ONLY" = "TRUE") to be set on the database. If this property is set, HMS will prevent the creation of ACID tables in this database.

      Note:

      1. Hive/HMS to implement the enforcement of this property in preventing table creation.
      2. Hive/HMS will not prevent end-users from setting/tampering with this property.

      Attachments

        Issue Links

          Activity

            People

              hemanth619 Sai Hemanth Gantasala
              hemanth619 Sai Hemanth Gantasala
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 20m
                  20m