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

Introduce state metadata source to query the streaming state metadata information

    XMLWordPrintableJSON

Details

    Description

      Introduce a new data source so that user can query the metadata of each state store of a streaming query, the schema of the result will be

      operatorId INT | operatorName STRING | stateStoreName STRING | numPartitions INT | numColsPrefixKey INT | minBatchId  LONG | minBatchId LONG

      To use this source, specify the source format and checkpoint path

      df = spark.read.format(“state-metadata”).load(“/checkpointPath”)

      Attachments

        Issue Links

          Activity

            People

              Chaoqin Chaoqin Li
              Chaoqin Chaoqin Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: