You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2014/10/01 23:41:33 UTC
[jira] [Resolved] (FLINK-1133) Type extractor cannot determine type
of function
[ https://issues.apache.org/jira/browse/FLINK-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephan Ewen resolved FLINK-1133.
---------------------------------
Resolution: Fixed
Fixed in 02c08456410689e10acb53bd7c33d6fdaeb671fb
Thank you for the patch!
> 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)