Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-9601

Join example fix in streaming-programming-guide.md

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: 1.5.0
    • Component/s: Documentation
    • Labels:
      None
    • Target Version/s:

      Description

      Stream-Stream Join has the following signature for Java in the guide:

      JavaPairDStream<String, String> joinedStream = stream1.join(stream2);

      It should be:
      JavaPairDStream<String, Tuple2<String, String>> joinedStream = stream1.join(stream2);

      Same for windowed stream join. It should be:

      JavaPairDStream<String, Tuple2<String, String>> joinedStream = windowedStream1.join(windowedStream2);

        Attachments

          Activity

            People

            • Assignee:
              katariya.namit Namit Katariya
              Reporter:
              jayants Jayant Shekhar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: