You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Yun Tang (Jira)" <ji...@apache.org> on 2021/09/08 09:57:00 UTC

[jira] [Created] (FLINK-24210) Window related serailizer should not return 0 as its serialized length

Yun Tang created FLINK-24210:
--------------------------------

             Summary: Window related serailizer should not return 0 as its serialized length
                 Key: FLINK-24210
                 URL: https://issues.apache.org/jira/browse/FLINK-24210
             Project: Flink
          Issue Type: Bug
          Components: API / Type Serialization System, Runtime / State Backends
            Reporter: Yun Tang


TimeWindow serializer return 0 as its length for serialization, this is certatinately not correct.
{code:java}
public static class Serializer extends TypeSerializerSingleton<TimeWindow> {
....
        @Override
        public int getLength() {
            return 0;
        }
}
{code}
Current namespace serializer in state backend does not depends on this interface so that no obvious bug has ever reported.

Moreover, this bug also occurs in other window related serializer.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)