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

Xiao Li resolved SPARK-19271.
-----------------------------
       Resolution: Fixed
         Assignee: Zhenhua Wang
    Fix Version/s: 2.2.0

> 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
>            Assignee: Zhenhua Wang
>             Fix For: 2.2.0
>
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to