[ https://issues.apache.org/jira/browse/FLINK-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154896#comment-14154896 ]
ASF GitHub Bot commented on FLINK-1133: --------------------------------------- Github user twalthr commented on the pull request: https://github.com/apache/incubator-flink/pull/137#issuecomment-57478197 Too quick. I think I could also do it recursively. A commit will follow.. > Type extractor cannot determine type of function > ------------------------------------------------ > > Key: FLINK-1133 > URL: https://issues.apache.org/jira/browse/FLINK-1133 > Project: Flink > Issue Type: Bug > Components: Java API > Affects Versions: 0.7-incubating > Reporter: Stephan Ewen > Assignee: Timo Walther > Fix For: 0.7-incubating > > > This function fails in the type extractor. > {code} > public static final class DuplicateValue<T> implements MapFunction<Tuple1<T>, > Tuple2<T, T>> { > > @Override > public Tuple2<T, T> map(Tuple1<T> vertex) { > return new Tuple2<T, T>(vertex.f0, vertex.f0); > } > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)