Hive
  1. Hive
  2. HIVE-3511

Constant values in aggregation parameters should not be attached to every map output row

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When map-side-aggregation is disabled (hive.map.aggr=false), constant values in aggregation parameters are attached to every map output row. For example, in test case 'count.q' (https://github.com/apache/hive/blob/trunk/ql/src/test/results/clientpositive/count.q.out). For count(1), if hive.map.aggr=false, '1' will be attached to every output row of ReduceSinkOperator.

        Issue Links

          Activity

          Yin Huai made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Yin Huai made changes -
          Field Original Value New Value
          Link This issue duplicates HIVE-757 [ HIVE-757 ]
          Yin Huai created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Yin Huai
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development