You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ufuk Celebi (JIRA)" <ji...@apache.org> on 2014/07/10 12:02:05 UTC
[jira] [Updated] (FLINK-952) TypeExtractor requires the argument
types of the UDF to be identical to the parameter types
[ https://issues.apache.org/jira/browse/FLINK-952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ufuk Celebi updated FLINK-952:
------------------------------
Component/s: Local Runtime
> TypeExtractor requires the argument types of the UDF to be identical to the parameter types
> -------------------------------------------------------------------------------------------
>
> Key: FLINK-952
> URL: https://issues.apache.org/jira/browse/FLINK-952
> Project: Flink
> Issue Type: Bug
> Components: Local Runtime
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
>
> The TypeExtractor checks for each operation whether the DataSet element types are valid arguments for the UDF. However, it checks for strict equality instead of a subtype relationship. Thus the following computation would not work even though it should semantically be correct.
> DataSet[B].map(new MapFunction[A,A](){ A map(A x)}) with B being a sub class of A.
--
This message was sent by Atlassian JIRA
(v6.2#6252)