Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7350 More accurate memory estimates for admission
  3. IMPALA-7814

AggregationNode's memory estimate should be based on NDV only for non-grouping aggs

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • None
    • None
    • Frontend
    • ghx-label-3

    Description

      Currently, the AggregationNode always computes the NDV to estimate the number of rows. However, for grouping aggregates, the entire input has to be consumed before the output can be produced, hence its memory estimate should not consider the NDV. This is acceptable for non-grouping aggregates because it only need to store the value expression during the build phase, instead of the entire tuple.

      Attachments

        Activity

          People

            Unassigned Unassigned
            poojanilangekar Pooja Nilangekar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: