spark-instrumented-optimizer/sql/catalyst/src/test
Wenchen Fan dd9ae7945a [SPARK-9351] [SQL] remove literals from grouping expressions in Aggregate
literals in grouping expressions have no effect at all, only make our grouping key bigger, so we should remove them in Optimizer.

I also make old and new aggregation code consistent about literals in grouping here. In old aggregation, actually literals in grouping are already removed but new aggregation is not. So I explicitly make it a rule in Optimizer.

Author: Wenchen Fan <cloud0fan@outlook.com>

Closes #7583 from cloud-fan/minor and squashes the following commits:

471adff [Wenchen Fan] add test
0839925 [Wenchen Fan] use transformDown when rewrite final result expressions
2015-07-27 11:23:29 -07:00
..
resources [SPARK-6758]block the right jetty package in log 2015-04-09 17:44:08 -04:00
scala/org/apache/spark/sql [SPARK-9351] [SQL] remove literals from grouping expressions in Aggregate 2015-07-27 11:23:29 -07:00