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

State factories should handle extended state descriptors

    XMLWordPrintableJSON

    Details

      Description

      Currently, TtlStateFactory and other state factories can only handle fixed type of state descriptors. As ValueStateDescriptor is not a final class and user could still extend it, however, TtlStateFactory cannot recognize the extending class.

      TtlStateFactory should use StateDescriptor#Type to check what kind of state is.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yunta Yun Tang
                Reporter:
                yunta Yun Tang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: