Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-3931

Support aggregate functions with arbitrary fixed-size intermediate type

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Impala 2.7.0
    • Fix Version/s: Impala 2.10.0
    • Component/s: Backend
    • Labels:
      None

      Description

      We should support fixed-size intermediate types for aggregate functions that can contain arbitrary structures. Currently these have to be allocated and stored in variable-length string values. E.g. average functions store their intermediate results in a 16-byte struct.

      There is some skeleton code for a BufferVal type in the UDF tests but we don't have end-to-end support for this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tarmstrong Tim Armstrong
                Reporter:
                tarmstrong Tim Armstrong
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: