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

Moving Avro files to sql/core so they can be used by TransformWithState operator

    XMLWordPrintableJSON

Details

    Description

      With the introduction of the TransformWithState operator, we are going to persist all state information in the StateStore with Avro encoding, instead of UnsafeRow. This is because UnsafeRow is not backwards compatible and can change between Spark releases, potentially causing StateStore corruptions. Avro is backwards-compatible and can be reliably used. This change will move the necessary files to the sql/core directory so Avro encoding can be used by stateful streaming operators.

      Attachments

        Issue Links

          Activity

            People

              ericm-db Eric Marnadi
              ericm-db Eric Marnadi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: