[
https://issues.apache.org/jira/browse/SPARK-46906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jungtaek Lim resolved SPARK-46906.
----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 44927
[https://github.com/apache/spark/pull/44927]
> Add a check for stateful operator change for streaming
> ------------------------------------------------------
>
> Key: SPARK-46906
> URL: https://issues.apache.org/jira/browse/SPARK-46906
> Project: Spark
> Issue Type: Task
> Components: Structured Streaming
> Affects Versions: 4.0.0
> Reporter: Jing Zhan
> Assignee: Jing Zhan
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> Currently user will get a misleading error as
> org.apache.spark.sql.execution.streaming.state.StateSchemaNotCompatible if
> restarting query in the same checkpoint location and changing their stateful
> operator. We need to catches such errors and throws a new error with
> informative message.
> After physical planning, before execution phase, we will read from state
> metadata with the current operator id to fetch operator name of committed
> batch with the same operator id. If operator name does not match, throws the
> error.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]