You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by as...@apache.org on 2026/03/24 00:09:44 UTC

(spark) branch master updated: [SPARK-55510] Update structured-streaming-state-data-source.md doc to reflect deleteRange

This is an automated email from the ASF dual-hosted git repository.

ashrigondekar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 205f73ec1696 [SPARK-55510] Update structured-streaming-state-data-source.md doc to reflect deleteRange
205f73ec1696 is described below

commit 205f73ec169671eb8e3739e88757897dbd662119
Author: zeruibao <ze...@databricks.com>
AuthorDate: Mon Mar 23 17:09:33 2026 -0700

    [SPARK-55510] Update structured-streaming-state-data-source.md doc to reflect deleteRange
    
    ### What changes were proposed in this pull request?
    Update structured-streaming-state-data-source.md to mention deleteRange do not support CDF stream
    
    ### Why are the changes needed?
    Currently, deleteRange does not support CDF. Need to update the doc.
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    N/A
    
    ### Was this patch authored or co-authored using generative AI tooling?
    Cursor
    
    Closes #54548 from zeruibao/zeruibao/SPARK-55510-update-statestore-markdown.
    
    Authored-by: zeruibao <ze...@databricks.com>
    Signed-off-by: Anish Shrigondekar <an...@databricks.com>
---
 docs/streaming/structured-streaming-state-data-source.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/streaming/structured-streaming-state-data-source.md b/docs/streaming/structured-streaming-state-data-source.md
index 0ebebcbd1f00..70eef06cd29b 100644
--- a/docs/streaming/structured-streaming-state-data-source.md
+++ b/docs/streaming/structured-streaming-state-data-source.md
@@ -220,6 +220,9 @@ Depending on your memory requirements, you can choose the format that best suits
 ### Reading state changes over microbatches
 
 If we want to understand the change of state store over microbatches instead of the whole state store at a particular microbatch, 'readChangeFeed' is the option to use.
+
+**Note:** Not all stateful operations are supported in the change feed. Certain operations, such as range deletions, cannot be represented as individual key-value change records and will result in an error. Refer to the error message for guidance on which operation is unsupported.
+
 For example, this is the code to read the change of state from batch 2 to the latest committed batch.
 
 <div class="codetabs">


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