You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2014/10/01 14:41:34 UTC

[jira] [Created] (FLINK-1133) Type extractor cannot determine type of function

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)