You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Pooja Nilangekar (JIRA)" <ji...@apache.org> on 2018/11/06 00:18:00 UTC

[jira] [Updated] (IMPALA-7814) AggregationNode's memory estimate should be based on NDV only for non-grouping aggs

     [ https://issues.apache.org/jira/browse/IMPALA-7814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pooja Nilangekar updated IMPALA-7814:
-------------------------------------
    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. 
        Summary: AggregationNode's memory estimate should be based on NDV only for non-grouping aggs   (was: Aggregation Node's memory estimate should be based on NDV only for non-grouping aggs )

> AggregationNode's memory estimate should be based on NDV only for non-grouping aggs 
> ------------------------------------------------------------------------------------
>
>                 Key: IMPALA-7814
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7814
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Pooja Nilangekar
>            Priority: Major
>
> 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. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org