spark-instrumented-optimizer/repl/scala-2.10/src
Reynold Xin 520dde48d0 [SPARK-14451][SQL] Move encoder definition into Aggregator interface
## What changes were proposed in this pull request?
When we first introduced Aggregators, we required the user of Aggregators to (implicitly) specify the encoders. It would actually make more sense to have the encoders be specified by the implementation of Aggregators, since each implementation should have the most state about how to encode its own data type.

Note that this simplifies the Java API because Java users no longer need to explicitly specify encoders for aggregators.

## How was this patch tested?
Updated unit tests.

Author: Reynold Xin <rxin@databricks.com>

Closes #12231 from rxin/SPARK-14451.
2016-04-09 00:00:39 -07:00
..
main/scala/org/apache/spark/repl [MINOR][DOCS] Use multi-line JavaDoc comments in Scala code. 2016-04-02 17:50:40 -07:00
test/scala/org/apache/spark/repl [SPARK-14451][SQL] Move encoder definition into Aggregator interface 2016-04-09 00:00:39 -07:00