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

PJ Van Aeken commented on FLINK-1962:
-------------------------------------

I spoke a little bit too soon. The syntactic sugar lines fail with the 
exception below. Just using the Java way (with CustomMap extends MapFunction) 
works perfectly now though.

Any ideas?

Exception in thread "main" 
org.apache.flink.api.common.functions.InvalidTypesException: Type of 
TypeVariable 'NV' in 'public org.apache.flink.graph.wrappedjava.Graph 
org.apache.flink.graph.wrappedjava.Graph.mapVertices(scala.Function1,org.apache.flink.api.common.typeinfo.TypeInformation,scala.reflect.ClassTag)'
 could not be determined. This is most likely a type erasure problem. The type 
extraction currently supports types with generic variables only in cases where 
all variables in the return type can be deduced from the input type(s).


> Add Gelly Scala API
> -------------------
>
>                 Key: FLINK-1962
>                 URL: https://issues.apache.org/jira/browse/FLINK-1962
>             Project: Flink
>          Issue Type: Task
>          Components: Gelly, Scala API
>    Affects Versions: 0.9
>            Reporter: Vasia Kalavri
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to