[ https://issues.apache.org/jira/browse/FLINK-24797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17439248#comment-17439248 ]
bx123 commented on FLINK-24797: ------------------------------- PS: org.apache.flink.streaming.api.windowing.windows.TimeWindow.Serializer org.apache.flink.streaming.api.windowing.windows.GlobalWindow.Serializer org.apache.flink.table.runtime.operators.window.TimeWindow.Serializer org.apache.flink.table.runtime.operators.window.CountWindow.Serializer These four Serializers seem all to have this issue which return 0 length. Then what does getLength() method for? It seems whether the length is right or wrong matters nothing. > GlobalWindow.Serializer#getLength() provides a wrong length. > ------------------------------------------------------------ > > Key: FLINK-24797 > URL: https://issues.apache.org/jira/browse/FLINK-24797 > Project: Flink > Issue Type: Bug > Components: API / Type Serialization System > Affects Versions: 1.12.0, 1.13.0, 1.14.0 > Reporter: bx123 > Priority: Minor > > The returned value in current version is 0, while the > serialize() method indeed writes one byte and the correct value seems to be 1. > > I am wondering whether there may exist any Serializer that will return length > 0? -- This message was sent by Atlassian Jira (v8.3.4#803005)