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

          Hide
          Yin Huai added a comment -

          Duplicates with HIVE-757. Close it

          Show
          Yin Huai added a comment - Duplicates with HIVE-757 . Close it

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development