You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2024/11/05 23:01:00 UTC
[jira] [Resolved] (SPARK-50112) Moving Avro files to sql/core so they can be used by TransformWithState operator
[ https://issues.apache.org/jira/browse/SPARK-50112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-50112.
----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 48650
[https://github.com/apache/spark/pull/48650]
> Moving Avro files to sql/core so they can be used by TransformWithState operator
> --------------------------------------------------------------------------------
>
> Key: SPARK-50112
> URL: https://issues.apache.org/jira/browse/SPARK-50112
> Project: Spark
> Issue Type: New Feature
> Components: Structured Streaming
> Affects Versions: 4.0.0
> Reporter: Eric Marnadi
> Assignee: Eric Marnadi
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> With the introduction of the TransformWithState operator, we are going to persist all state information in the StateStore with Avro encoding, instead of UnsafeRow. This is because UnsafeRow is not backwards compatible and can change between Spark releases, potentially causing StateStore corruptions. Avro is backwards-compatible and can be reliably used. This change will move the necessary files to the sql/core directory so Avro encoding can be used by stateful streaming operators.
--
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