[
https://issues.apache.org/jira/browse/SPARK-19271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15827588#comment-15827588
]
Apache Spark commented on SPARK-19271:
--------------------------------------
User 'wzhfy' has created a pull request for this issue:
https://github.com/apache/spark/pull/16631
> 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: [email protected]
For additional commands, e-mail: [email protected]