Eric Marnadi created SPARK-50112:
------------------------------------

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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to