Zhenhua Wang created SPARK-19271:
------------------------------------
Summary: 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]