flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Walther (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1062) Type Extraction for Lambdas
Date Mon, 15 Sep 2014 14:44:34 GMT

    [ https://issues.apache.org/jira/browse/FLINK-1062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14133961#comment-14133961
] 

Timo Walther commented on FLINK-1062:
-------------------------------------

I talked to Stephan about the problems we have with type erasure in non-Eclipse compilers.
He suggested the following subtasks:

 - Configure JDT compiler in the examples project -> I will do this in another PR
 - Configure JDT compiler for our quickstart projects -> I will do this in another PR
 - Do Type Extraction and check if generics are lost, give a meaningful exception -> Done
in my latest commit
 - Give the possibility to annotate the types (as String , e.g: "(Long, Double)" for Tuple2...)
-> Annotations for lambdas seem not to be possible yet (see also http://stackoverflow.com/questions/22375891/annotating-the-functional-interface-of-a-lambda-expression),
any ideas?

> 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)

Mime
View raw message