[
https://issues.apache.org/jira/browse/FLINK-4624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15505982#comment-15505982
]
Fabian Hueske commented on FLINK-4624:
--------------------------------------
{{VertexGroupItem}} extends {{Tuple4<K, K, Either<VGV, NullValue>, Long>}}.
By providing a {{TupleTypeInfo}}, Flink will serialize the data as a {{Tuple4}}
and also deserialize it as a {{Tuple4}}. You cannot downcast a {{Tuple4}}
object into a {{VertexGroupItem}} (unless it actually is a {{VertexGroupItem}}
which is not the case here).
You should provide a {{TypeInformation<VertexGroupItem>}} instead of a
{{TupleTypeInfo}}.
> 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)