[
https://issues.apache.org/jira/browse/FLINK-13879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917688#comment-16917688
]
Aljoscha Krettek commented on FLINK-13879:
------------------------------------------
[~twalthr] do you know why {{RowTypeInfo}} is a {{TupleTypeInfoBase}}? If it
were its own type this problem wouldn't exist, I think.
> It seems that there might be some problem with the
> DataStream.keyBy(xx).maxBy(yy)
> ---------------------------------------------------------------------------------
>
> Key: FLINK-13879
> URL: https://issues.apache.org/jira/browse/FLINK-13879
> Project: Flink
> Issue Type: Bug
> Components: API / DataStream
> Affects Versions: 1.9.0
> Reporter: liusong
> Priority: Major
> Attachments: image-2019-08-28-09-01-32-356.png,
> image-2019-08-28-09-02-18-077.png, image-2019-08-28-09-02-47-835.png
>
>
> following error:
> !image-2019-08-28-09-02-18-077.png!
> !image-2019-08-28-09-02-47-835.png!
> Because this 'RowTypeInfo' is subclass of 'TupleTypeInfoBase' ,so
> 'typeInfo.isTupleType()' always return true when the typeInfo is
> RowTypeInfo,then enter 'else if (typeInfo.isTupleType())',but why do it do
> that 'TupleTypeInfo tupleTypeInfo = (TupleTypeInfo) typeInfo'?it is work when
> i try to use 'TupleTypeInfoBase tupleTypeInfo = (TupleTypeInfoBase) typeInfo'
> instead of it。
--
This message was sent by Atlassian Jira
(v8.3.2#803003)