flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4216) WordWithCount example with Java has wrong generics type
Date Thu, 14 Jul 2016 12:08:20 GMT

    [ https://issues.apache.org/jira/browse/FLINK-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376807#comment-15376807
] 

ASF GitHub Bot commented on FLINK-4216:
---------------------------------------

Github user rmetzger commented on the issue:

    https://github.com/apache/flink/pull/2247
  
    There is already a fix for the issue in this pull request: https://github.com/apache/flink/pull/2246


> 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
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> The Java example of the POJOs results in the:
> {code}
> Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
> {code}
> due to the wrong type of the generics of the DataStream.
> Currently it is {code}DataStream<Tuple2<String,Integer>>{code}
> but should be {code}DataSource<WordWithCount>{code}.



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

Mime
View raw message