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

hive_metastoreConstants.TABLE_IS_TRANSACTIONAL vs ConfVars.HIVE_TRANSACTIONAL_TABLE_SCAN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Transactions
    • None

    Description

      constructor of Context() has
      boolean isTableTransactional = conf.getBoolean(hive_metastoreConstants.TABLE_IS_TRANSACTIONAL, false).

      This looks wrong. Everywhere else we use ConfVars.HIVE_TRANSACTIONAL_TABLE_SCAN.
      (yet someone does set it - can't find where)

      Utilities.copyTablePropertiesToConf() copies all table props to JobConf

      There places in the code setting/expecting ConfVars.HIVE_TRANSACTIONAL_TABLE_SCAN and other places setting/expecting hive_metastoreConstants.TABLE_IS_TRANSACTIONAL. This is inconsistent.

      Attachments

        1. HIVE-17255.01.patch
          1 kB
          Eugene Koifman

        Activity

          People

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

            Dates

              Created:
              Updated: