Timo Walther commented on FLINK-4624:

{{VertexGroupItem<K, VV>}} and {{VertexGroupItem}} are compatible. They both 
have the same class. Just the generics cause problems as Java classes have no 
generics (because of legacy reasons). Just do a hard cast. If you look into the 
type extractor, you will see that we had to do this several times.

@SuppressWarnings({"rawtype", "unchecked"})
TypeInformation<VertexGroupItem<K, VV>> t = (TypeInformation<VertexGroupItem<K, 
VV>>) new TupleTypeInfo(VertexGroupItem.class, keyType, keyType, eitherType, 

> 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

Reply via email to