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

State Data Source Read Change Feed

    XMLWordPrintableJSON

Details

    Description

      The current state reader can only return the entire state at a specific version. If an error occurs related to state, knowing the change of state across versions to find out at which version state starts to go wrong is important for debugging purposes. This PR adds ability of showing the evolution of state as Change Data Capture (CDC) format to state data source.

      An example usage:

      .format("statestore")
      .option("readChangeFeed", true)
      .option("changeStartBatchId", 5) #required 
      .option("changeEndBatchId", 10)  #not required, default: latest batch Id available
      

      Attachments

        Issue Links

          Activity

            People

              eason-yuchen-liu Yuchen Liu
              eason-yuchen-liu Yuchen Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: