You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (Jira)" <ji...@apache.org> on 2025/04/28 06:31:00 UTC

[jira] [Resolved] (SPARK-46815) Structured Streaming - Arbitrary State API v2

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

Xiao Li resolved SPARK-46815.
-----------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

> Structured Streaming - Arbitrary State API v2
> ---------------------------------------------
>
>                 Key: SPARK-46815
>                 URL: https://issues.apache.org/jira/browse/SPARK-46815
>             Project: Spark
>          Issue Type: Epic
>          Components: Structured Streaming
>    Affects Versions: 4.0.0
>            Reporter: Anish Shrigondekar
>            Priority: Major
>             Fix For: 4.0.0
>
>
> We are planning to introduce a new operator for [Spark Structured Streaming|https://spark.apache.org/streaming/] around [arbitrary stateful operations|https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#arbitrary-stateful-operations]. The operator(s) we have today ([mapGroupsWithState/flatMapGroupsWithState|https://spark.apache.org/docs/3.1.3/api/java/org/apache/spark/sql/streaming/GroupState.html]) have a bunch of limitations (as noted in Q3 below) that prevent the use of the APIs for complex/advanced use-cases for stateful stream processing. We plan to remove these limitations with the introduction of a new API to handle state manipulation for streaming queries.
>  
> As part of this effort, we want to address:
>  * composite types
>  * multiple state variables (flexible data modeling)
>  * state TTL
>  * callback/timer improvements
>  * schema evolution
>  * initial state
>  * output modes
>  * co-process functions
>  * chaining operators after new operator etc



--
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