Hive
  1. Hive
  2. HIVE-6614

Vectorized aggregates computed on map side diffe (hash mode) from values computed on reduce side (streaming mode)

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      HIVE-6222 allows vectorized aggregates to operate on streaming mode, ie. flush after each key change and let the shuffle+reduce side to compute the final aggregate values. An error in patch .2 for HIVE-6222 shows that when the queries run in streaming mode, there are rounding diffs for some agg functions (VAR and friends). These occurred for non-decimal types, like ctinyint:

      select csmallint, VAR_POP(ctinyint) from alltypesorc where csmallint = -75 group by csmallint;
      

      This produces 107.55555555555556 vs. 107.55555555555554.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Remus Rusanu
            Reporter:
            Remus Rusanu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development