[
https://issues.apache.org/jira/browse/FLINK-23018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yun Tang resolved FLINK-23018.
------------------------------
Resolution: Fixed
> State factories 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
> Labels: pull-request-available
> Fix For: 1.14.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)