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

Skipping predicate pushdown for MR silently at HiveInputFormat can cause storage handlers to produce erroneous result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 4.0.0-alpha-1
    • None
    • None

    Description

      // disable filter pushdown for mapreduce when there are more than one table aliases,
      
          // since we don't clone jobConf per alias
      
          if (mrwork != null && mrwork.getAliases() != null && mrwork.getAliases().size() > 1 &&
      
            jobConf.get(ConfVars.HIVE_EXECUTION_ENGINE.varname).equals("mr")) {
      
            return;
      
          }
      

      I believe this needs to be handled at OpProcFactory so that hive doesn't believe that predicate is handled by storage handler.

      Attachments

        1. HIVE-18873.patch
          2 kB
          Ankit Singhal
        2. HIVE-18873.3.patch
          2 kB
          Vineet Garg
        3. HIVE-18873.2.patch
          2 kB
          Vineet Garg
        4. HIVE-18873.2_reattach.patch
          2 kB
          Ankit Singhal

        Issue Links

          Activity

            People

              ankit@apache.org Ankit Singhal
              ankit@apache.org Ankit Singhal
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: