[
https://issues.apache.org/jira/browse/FLINK-21341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-21341:
-----------------------------------
Labels: auto-deprioritized-major auto-unassigned stale-assigned (was:
auto-deprioritized-major auto-unassigned)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issue is assigned but has not
received an update in 30 days, so it has been labeled "stale-assigned".
If you are still working on the issue, please remove the label and add a
comment updating the community on your progress. If this issue is waiting on
feedback, please consider this a reminder to the committer/reviewer. Flink is a
very active project, and so we appreciate your patience.
If you are no longer working on the issue, please unassign yourself so someone
else may work on it.
> Update state reader to return InputFormat
> -----------------------------------------
>
> Key: FLINK-21341
> URL: https://issues.apache.org/jira/browse/FLINK-21341
> Project: Flink
> Issue Type: Improvement
> Components: API / State Processor
> Affects Versions: 1.13.0
> Reporter: Seth Wiesman
> Assignee: Jun Qin
> Priority: Minor
> Labels: auto-deprioritized-major, auto-unassigned, stale-assigned
>
> The state processor api on read currently takes an ExecutionEnvironment and
> returns a DataSet. As Flink now supports Bounded DataStream we want to
> support that as well but not have to maintain parallel apis. To that end we
> propose the following.
> Introduce a new `load` method to Savepoint.
>
> {code:java}
> SavepointReader Savepoint#load(String path, StateBackend backend);
> {code}
> SavepointReader will contain the same read methods as ExistingSavepoint but
> they will instead return InputFormat<T, ?>. This way the input format can be
> used with either DataSet, DataStream, or Table API.
>
> The reader methods in ExistingSavepoint should be deprecated.
>
> Additionally, OperatorStateInputFormat and KeyedStateInputFormat should both
> now extend ResultTypeQueryable so users get efficient serializer for their
> reads.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)