Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4216

WordWithCount example with Java has wrong generics type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      The Java example of the POJOs results in the:

      Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
      

      due to the wrong type of the generics of the DataStream.

      Currently it is

      DataStream<Tuple2<String,Integer>>

      but should be

      DataSource<WordWithCount>

      .

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mjsax Matthias J. Sax
                Reporter:
                Serhiy Serhiy Boychenko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 10m
                  10m
                  Remaining:
                  Remaining Estimate - 10m
                  10m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified