Jesus Camacho Rodriguez created HIVE-21434:
----------------------------------------------
Summary: Extend HiveAggregatePullUpConstantsRule to remove all
grouping columns if possible
Key: HIVE-21434
URL: https://issues.apache.org/jira/browse/HIVE-21434
Project: Hive
Issue Type: Improvement
Components: CBO
Reporter: Jesus Camacho Rodriguez
Assignee: Jesus Camacho Rodriguez
Currently there is a limitation in the rule implementation.
{code}
...
// No room for optimization since we cannot convert from non-empty
// GROUP BY list to the empty one.
...
{code}
The rule extension should try to overcome the limitation by implementing this
specific case calculating count(*) on Aggregate and applying Filter on top of
it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)