Martin Junghanns commented on FLINK-4624:

Yes, I looked into the two constructors before. The one without the class 
parameter just casts to {{(Class<T>)}} and uses the other constructor. However 
I cannot do
TypeInformation<VertexGroupItem<K, VV>> tupleTypeInfo = new 
TupleTypeInfo<>(VertexGroupItem.class, keyType, keyType, eitherType, 
since {{VertexGroupItem<K, VV>}} and {{VertexGroupItem}} are incompatible types.

The two options I currently see are:
* using the simple approach sketched in my first comment
* using tuple types instead of named subclasses

> 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