You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wei Liu (Jira)" <ji...@apache.org> on 2024/08/29 18:23:00 UTC

[jira] [Created] (SPARK-49462) A query running under ckpt version v1 should be able to read a STATELESS query running under ckptv2

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org