[ 
https://issues.apache.org/jira/browse/FLINK-23018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17366351#comment-17366351
 ] 

Yun Tang commented on FLINK-23018:
----------------------------------

Merged
master: 73c103b6b117fe3996eedfb9d04e926f00c70996
release-1.13: b4f1a41b1c7564f4966567fbaf6e47c390874700

> 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)

Reply via email to