Yun Tang created FLINK-23018:
--------------------------------

             Summary: TTL state factory should handle extended state descriptors
                 Key: FLINK-23018
                 URL: https://issues.apache.org/jira/browse/FLINK-23018
             Project: Flink
          Issue Type: Bug
          Components: Runtime / State Backends
            Reporter: Yun Tang
            Assignee: Yun Tang
             Fix For: 1.14.0


Currently, {{TtlStateFactory}} 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 kinds of 
state is.



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

Reply via email to