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

WordWithCount example with Java has wrong generics type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0
    • Documentation
    • 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

              mjsax Matthias J. Sax
              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