[ https://issues.apache.org/jira/browse/SPARK-13798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li updated SPARK-13798: ---------------------------- Description: If the Aggregate does not have any aggregate expression, it is useless. We can replace Aggregate by Project. Then, Project can be collapsed or pushed down further. This only makes sense when the grouping and aggregate are identical. Thus, will do it later was: If the Aggregate does not have any aggregate expression, it is useless. We can replace Aggregate by Project. Then, Project can be collapsed or pushed down further. > Replace Aggregate by Project if no Aggregate Function exists > ------------------------------------------------------------ > > Key: SPARK-13798 > URL: https://issues.apache.org/jira/browse/SPARK-13798 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 2.0.0 > Reporter: Xiao Li > > If the Aggregate does not have any aggregate expression, it is useless. We > can replace Aggregate by Project. > Then, Project can be collapsed or pushed down further. > This only makes sense when the grouping and aggregate are identical. Thus, > will do it later -- 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