[ https://issues.apache.org/jira/browse/FLINK-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14541635#comment-14541635 ]
PJ Van Aeken commented on FLINK-1962: ------------------------------------- I suspect the casting in this line does not change the TypeClass to type T but keeps it at org.apache.flink.api.java.tuple.Tuple new TupleTypeInfo[org.apache.flink.api.java.tuple.Tuple](fields: _*).asInstanceOf[TypeInformation[T]] So I end up with a Tuple2 dataset and a Tuple3 dataset in my java Graph, rather than Edge and Vertex. Somewhere in the translation it loses notion of the subclass and only retains the super class, and I think it is in the line above. > 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)