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

ACID queries pollute HiveConf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.3.0, 2.1.0
    • Transactions
    • None

    Description

      HiveConf is a SessionState level object. Some ACID related logic makes changes to it (which are meant to be per query) but become per SessionState.

      See SemanticAnalyzer.checkAcidConstraints()
      Also note HiveConf.setVar(conf, HiveConf.ConfVars.DYNAMICPARTITIONINGMODE, "nonstrict");
      in UpdateDeleteSemancitAnalzyer

      alangates, do you know of other cases or ideas on how to deal with this differently?

      SortedDynPartitionOptimizer.process() is the place to have the logic to do conf.setBoolVar(ConfVars.HIVEOPTSORTDYNAMICPARTITION, false); on per query basis

      Attachments

        1. HIVE-11550.1.patch
          8 kB
          Eugene Koifman
        2. HIVE-11550.patch
          10 kB
          Eugene Koifman

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: