-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-19287][CORE][STREAMING] JavaPairRDD flatMapValues requires function returning Iterable, not Iterator #22690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Test build #97217 has finished for PR 22690 at commit
|
|
Test build #97223 has finished for PR 22690 at commit
|
|
Test build #97225 has finished for PR 22690 at commit
|
|
Test build #97226 has finished for PR 22690 at commit
|
felixcheung
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
breaking API change?
|
Yes, for 3.0. it's an old API mistake |
|
Test build #97316 has finished for PR 22690 at commit
|
|
Merged to master |
|
cc @cloud-fan and @gatorsmile Should we update migration guide as well? |
|
Yeah let me go back and add a note about several recent changes like this. |
|
Actually sorry for the ignorant question @HyukjinKwon but is there a migration guide for things outside SQL and MLlib? those are the two I've found. This one isn't specific to those two. I tagged the JIRA as |
…ction 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. Closes apache#22690 from srowen/SPARK-19287. Authored-by: Sean Owen <sean.owen@databricks.com> Signed-off-by: Sean Owen <sean.owen@databricks.com>
What changes were proposed in this pull request?
Fix old oversight in API: Java
flatMapValuesneeds aFlatMapFunctionHow was this patch tested?
Existing tests.