[
https://issues.apache.org/jira/browse/FLINK-24210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-24210:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Assignee: Jinzhong Li
> Priority: Minor
> Labels: pull-request-available
>
> 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.20.1#820001)