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

State factories should handle extended state descriptors

Agile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment