[ https://issues.apache.org/jira/browse/FLINK-23018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yun Tang updated FLINK-23018: ----------------------------- Description: 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 kind of state is. was: 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. > 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 > Priority: Major > 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 kind > of state is. -- This message was sent by Atlassian Jira (v8.3.4#803005)