GitHub user srowen opened a pull request:
https://github.com/apache/spark/pull/22690
[SPARK-19287][CORE][STREAMING] JavaPairRDD flatMapValues requires function
returning Iterable, not Iterator
## What changes were proposed in this pull request?
Fix old oversight in API: Java `flatMapValues` needs a `FlatMapFunction`
## How was this patch tested?
Existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/srowen/spark SPARK-19287
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22690.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 #22690
----
commit b1a88d51347dff0f2797d79423b9f5417515100b
Author: Sean Owen <sean.owen@...>
Date: 2018-10-10T21:11:14Z
Fix old oversight in API: Java flatMapValues needs a FlatMapFunction
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]