Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/14593#discussion_r74400900
--- Diff: docs/streaming-programming-guide.md ---
@@ -1142,12 +1142,12 @@ val joinedStream = windowedStream.transform { rdd
=> rdd.join(dataset) }
JavaPairRDD<String, String> dataset = ...
JavaPairDStream<String, String> windowedStream =
stream.window(Durations.seconds(20));
JavaPairDStream<String, String> joinedStream = windowedStream.transform(
- new Function<JavaRDD<Tuple2<String, String>>, JavaRDD<Tuple2<String,
String>>>() {
- @Override
- public JavaRDD<Tuple2<String, String>> call(JavaRDD<Tuple2<String,
String>> rdd) {
- return rdd.join(dataset);
- }
+ new Function<JavaRDD<Tuple2<String, String>>, JavaRDD<Tuple2<String,
String>>>() {
--- End diff --
This change looks a bit a lot but I just changed 4 spaces to 2 spaces.
---
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]