You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2026/07/22 06:16:00 UTC
[jira] [Resolved] (SPARK-47013) Document the config spark.sql.streaming.minBatchesToRetain
[ https://issues.apache.org/jira/browse/SPARK-47013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun resolved SPARK-47013.
-----------------------------------
Fix Version/s: 4.3.0
Resolution: Fixed
Issue resolved by pull request 56675
[https://github.com/apache/spark/pull/56675]
> Document the config spark.sql.streaming.minBatchesToRetain
> ----------------------------------------------------------
>
> Key: SPARK-47013
> URL: https://issues.apache.org/jira/browse/SPARK-47013
> Project: Spark
> Issue Type: Documentation
> Components: Structured Streaming
> Affects Versions: 3.5.0
> Reporter: Lingeshwaran Radhakrishnan
> Assignee: Brij Raj Kishore
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.3.0
>
>
> Add the config spark.sql.streaming.minBatchesToRetain to the [streaming docs|https://spark.apache.org/docs/latest/configuration.html#spark-streaming] page which basically controls the minimum number of batches that must be retained and made recoverable.
> This would also help control the lifecycle of the state files held in the checkpoint folder i.e, State files are cleaned up based on the config spark.sql.streaming.minBatchesToRetain
--
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