You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/06/12 20:27:00 UTC

[jira] [Updated] (SPARK-48589) Add option snapshotStartBatchId and snapshotPartitionId to state data source

     [ https://issues.apache.org/jira/browse/SPARK-48589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated SPARK-48589:
-----------------------------------
    Labels: pull-request-available  (was: )

> Add option snapshotStartBatchId and snapshotPartitionId to state data source
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-48589
>                 URL: https://issues.apache.org/jira/browse/SPARK-48589
>             Project: Spark
>          Issue Type: New Feature
>          Components: Structured Streaming
>    Affects Versions: 4.0.0
>            Reporter: Yuchen Liu
>            Priority: Major
>              Labels: pull-request-available
>
> Define two new options, _snapshotStartBatchId_ and _snapshotPartitionId_, for the existing state reader. Both of them should be provided at the same time.
>  # When there is no snapshot file at that batch (note there is an off-by-one issue between version and batch Id), throw an exception.
>  # Otherwise, the reader should continue to rebuild the state by reading delta files only, and ignore all snapshot files afterwards.
>  # Note that if a batchId option is already specified. That batchId is the ending batchId, we should then end at that batchId.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org