Yuanjian Li created SPARK-31894:
-----------------------------------

             Summary: Introduce UnsafeRow format validation for streaming state 
store
                 Key: SPARK-31894
                 URL: https://issues.apache.org/jira/browse/SPARK-31894
             Project: Spark
          Issue Type: Bug
          Components: Structured Streaming
    Affects Versions: 3.1.0
            Reporter: Yuanjian Li


Currently, Structured Streaming directly puts the UnsafeRow into StateStore 
without any schema validation. It's a dangerous behavior when users reusing the 
checkpoint file during migration. Any changes or bug fix related to the 
aggregate function may cause random exceptions, even the wrong answer, e.g 
SPARK-28067.

Here we introduce an UnsafeRow format validation for the state store.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to