Stephan Ewen created FLINK-1133:
-----------------------------------
Summary: 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
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)