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

Query may generate different results depending on the number of reducers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.14.0
    • Fix Version/s: 1.0.0
    • Component/s: Logical Optimizer
    • Labels:
      None

      Description

      Some queries may generate different results depending on the number of reducers, for example, tests like ppd_multi_insert.q, join_nullsafe.q, subquery_in.q, etc.

      Take subquery_in.q as example, if we add

      set mapred.reduce.tasks=3;
      

      to this test file, the result will be different (and wrong):

      @@ -903,5 +903,3 @@ where li.l_linenumber = 1 and
       POSTHOOK: type: QUERY
       POSTHOOK: Input: default@lineitem
       #### A masked pattern was here ####
      -108570 8571
      -4297   1798
      

        Attachments

        1. HIVE-9112.patch
          33 kB
          Ted Xu
        2. HIVE-9112.1.patch
          47 kB
          Ted Xu
        3. HIVE-9112.2.patch
          68 kB
          Chao Sun
        4. HIVE-9112-0.14.1-branch.patch
          37 kB
          Ashutosh Chauhan

          Issue Links

            Activity

              People

              • Assignee:
                tedxu Ted Xu
                Reporter:
                csun Chao Sun
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: