[
https://issues.apache.org/jira/browse/FLINK-25360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17464302#comment-17464302
]
Yue Ma commented on FLINK-25360:
--------------------------------
----
> Could we write meta state info in savepoint meta?
----
[~yunta] [~liufangqi] I'm really glad to see the Community doing this kind of
discussion . Actually , we also did the same thing (adding meta information
such as state desc to the savepoint) in the internal Flink version of
ByteDance.The reason we did this in the first place was because now users need
to re-register the state using state-processor-api to query the state. We think
this is too diffcult for users. So we did some simple work to make it easier
for users to query state (such as add state meta to Savepoint or use Flink
Batch sql for state Query .so I personally agree with this idea.
> Add State Desc to CheckpointMetadata
> ------------------------------------
>
> Key: FLINK-25360
> URL: https://issues.apache.org/jira/browse/FLINK-25360
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Checkpointing, Runtime / State Backends
> Reporter: 刘方奇
> Priority: Major
> Attachments: image-2021-12-17-20-01-42-423.png
>
>
> Now we can't get the State Descriptor info in the checkpoint meta. Like the
> case if we use state-processor-api to load state then rewrite state, we can't
> flexible use the state.
> Maybe there are other cases we need the State Descriptor, so can we add this
> info?
--
This message was sent by Atlassian Jira
(v8.20.1#820001)