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

Timo Walther commented on FLINK-4624:
-------------------------------------

You can get rid of the {{ClassCastException}} by using the correct constructor 
call of {{TupleTypeInfo}}. There are two constructors one that creates plain 
tuples and one that allows subclasses of tuples. In your case 
{{VertexGroupItem}}.

{code}
new TupleTypeInfo<>(VertexGroupItem.class, keyType, keyType, eitherType, 
BasicTypeInfo.LONG_TYPE_INFO)
{code}

should work.

> Gelly's summarization algorithm cannot deal with null vertex group values
> -------------------------------------------------------------------------
>
>                 Key: FLINK-4624
>                 URL: https://issues.apache.org/jira/browse/FLINK-4624
>             Project: Flink
>          Issue Type: Bug
>          Components: Gelly
>            Reporter: Till Rohrmann
>            Assignee: Martin Junghanns
>             Fix For: 1.2.0
>
>
> Gelly's {{Summarization}} algorithm cannot handle null values in the 
> `VertexGroupItem.f2`. This behaviour is hidden by using Strings as a vertex 
> value in the {{SummarizationITCase}}, because the {{StringSerializer}} can 
> handle null values. 



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

Reply via email to