GitHub user marmbrus opened a pull request:
https://github.com/apache/spark/pull/9870
[SPARK-11889] [SQL] Fix type inference for GroupedDataset.agg in REPL
In this PR I delete a method that breaks type inference for aggregators
(only in the REPL)
The error when this method is present is:
```
<console>:38: error: missing parameter type for expanded function ((x$2) =>
x$2._2)
ds.groupBy(_._1).agg(sum(_._2), sum(_._3)).collect()
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/marmbrus/spark dataset-repl-agg
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/9870.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #9870
----
commit d7367da4ca031548d843aed3ef9f14be9f46aecf
Author: Michael Armbrust <[email protected]>
Date: 2015-11-20T21:15:12Z
[SPARK-11889] [SQL] Fix type inference for GroupedDataset.agg in REPL
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]