Wei Liu created SPARK-49462:
-------------------------------

             Summary: A query running under ckpt version v1 should be able to 
read a STATELESS query running under ckptv2
                 Key: SPARK-49462
                 URL: https://issues.apache.org/jira/browse/SPARK-49462
             Project: Spark
          Issue Type: Task
          Components: SS
    Affects Versions: 4.0.0
            Reporter: Wei Liu


Follow up to [https://github.com/apache/spark/pull/47932]

The validate version method force checks if the version persisted in the commit 
log 

[https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/CommitLog.scala#L59]

 

But the V2 checkpoint is only meaningful to stateful queries, so for a 
stateless query, a CommitLog running under V1 (old code) should be able to 
process a persisted commit log that has V2 format (new log)



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