liusong created FLINK-13879: ------------------------------- Summary: 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 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)