You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Zhenhua Wang (JIRA)" <ji...@apache.org> on 2017/01/18 08:09:26 UTC

[jira] [Updated] (SPARK-19271) Change non-cbo estimation of aggregate

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

Zhenhua Wang updated SPARK-19271:
---------------------------------
    Summary: Change non-cbo estimation of aggregate  (was: Non-cbo estimation of aggregate)

> Change non-cbo estimation of aggregate
> --------------------------------------
>
>                 Key: SPARK-19271
>                 URL: https://issues.apache.org/jira/browse/SPARK-19271
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Zhenhua Wang
>
> Change non-cbo estimation behavior of aggregate:
> If groupExpression is empty, we can know row count (=1) and the corresponding size;
> otherwise, estimation falls back to UnaryNode's computeStats method, which should not propagate rowCount and attributeStats in Statistics because they are not estimated in that method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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