[jira] [Created] (FLINK-4216) WordWithCount example with Java has wrong generics type

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-4216) WordWithCount example with Java has wrong generics type

Shang Yuanchun (Jira)
Serhiy Boychenko created FLINK-4216:
---------------------------------------

             Summary: WordWithCount example with Java has wrong generics type
                 Key: FLINK-4216
                 URL: https://issues.apache.org/jira/browse/FLINK-4216
             Project: Flink
          Issue Type: Bug
          Components: Documentation
            Reporter: Serhiy Boychenko
            Priority: Trivial


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>.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)