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

Stephan Ewen commented on FLINK-1962:
-------------------------------------

How about remove the generic type constraints from the Gelly Java API ? In the 
core API, we have no such constraints.

The Flink client checks during plan generation anyways whether the key types 
are suitable as keys, so you would get a check in the re-flight phase still.

Concerning seralizability, this is mainly caused by the fact that the types are 
used in function closures. This is a limitation that would be good to get 
around anyways in the near future, so that we support all types that the Flink 
type stack can handle.

BTW: Scala case classes are serializable, so they should actually work fine 
against the serializable bound.

> 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