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

Aljoscha Krettek commented on FLINK-1962:
-----------------------------------------

Sorry, your comment did not appear yet when I wrote my reply.

My fix should work this time. Even though it looks quite ugly because of the 
dual casting. The reason for this is that the TupleTypeInfo constructor has 
type bounds on T to only allow subclasses of Tuple. The T I have in the 
TypeInformationGen method does not have these type bounds, so I have to cast 
things around, but the end result should be correct this time.

I'm sorry this look so long. I've never looked at the graph API in depth before.

> 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