Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24210

Window related serailizer should not return 0 as its serialized length

    XMLWordPrintableJSON

Details

    Description

      TimeWindow serializer return 0 as its length for serialization, this is certatinately not correct.

      public static class Serializer extends TypeSerializerSingleton<TimeWindow> {
      ....
              @Override
              public int getLength() {
                  return 0;
              }
      }
      

      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.

      Attachments

        Issue Links

          Activity

            People

              lijinzhong Jinzhong Li
              yunta Yun Tang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: