[
https://issues.apache.org/jira/browse/FLINK-1062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14135118#comment-14135118
]
Timo Walther commented on FLINK-1062:
-------------------------------------
I don't know if this is a good solution as it changes most of the user-facing
API again. It could also be confusing for the user, if they see the String
varargs.
What do you think about a wrapper class that implements ResultTypeQueryable and
takes the lambda?
So that a map could look like: {code}ds.map(new LambdaMap((i) -> i+1, "Integer"
));{code}
> Type Extraction for Lambdas
> ---------------------------
>
> Key: FLINK-1062
> URL: https://issues.apache.org/jira/browse/FLINK-1062
> Project: Flink
> Issue Type: Improvement
> Components: Java API
> Affects Versions: 0.7-incubating
> Reporter: Stephan Ewen
> Assignee: Timo Walther
> Fix For: 0.7-incubating
>
>
> Lambdas currently work only for {{filter}} and {{reduce(a,b)}}, because
> Lambda type extraction is not in place right now.
> We need to extend the type extraction for lambdas to support the other
> functions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)