[ https://issues.apache.org/jira/browse/HIVE-21434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesus Camacho Rodriguez updated HIVE-21434: ------------------------------------------- Status: Patch Available (was: In Progress) > 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 > Priority: Major > > 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)