Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-49462

A query running under ckpt version v1 should be able to read a STATELESS query running under ckptv2

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0.0
    • None
    • SS
    • None

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            WweiL Wei Liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: