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

clean up isAcidTable() API vs isInsertOnlyTable()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Transactions
    • None

    Description

      With the addition of MM tables (AcidUtils.isInsertOnlyTable(table)) the methods in AcidUtils and dependent places are very muddled. There are now a number of places where we have something like isAcidTable = AcidUtils.isFullAcidTable(table) and a later getter
      boolean isAcidTable() { return isAcidTable;}

      Need to clean it up so that there is a isTransactional(Table) that checks transactional=true setting and isAcid(Table) to mean full ACID and isInsertOnly(Table) to mean MM tables.
      This would accurately describe the semantics of the tables.

      Attachments

        1. HIVE-18124.07.patch
          76 kB
          Eugene Koifman
        2. HIVE-18124.06.patch
          76 kB
          Eugene Koifman
        3. HIVE-18124.05.patch
          75 kB
          Eugene Koifman
        4. HIVE-18124.04.patch
          66 kB
          Eugene Koifman
        5. HIVE-18124.03.patch
          66 kB
          Eugene Koifman
        6. HIVE-18124.02.patch
          43 kB
          Eugene Koifman
        7. HIVE-18124.01.patch
          43 kB
          Eugene Koifman

        Issue Links

          Activity

            People

              ekoifman Eugene Koifman
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: