[ https://issues.apache.org/jira/browse/FLINK-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154764#comment-14154764 ]
Timo Walther commented on FLINK-1133: ------------------------------------- I will look into that. > 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)