flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PJ Van Aeken (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1962) Add Gelly Scala API
Date Fri, 15 May 2015 08:47:59 GMT

    [ 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

View raw message