You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Chaoqin Li (Jira)" <ji...@apache.org> on 2023/11/05 05:16:00 UTC

[jira] [Created] (SPARK-45794) Introduce state metadata source to query the streaming state metadata information

Chaoqin Li created SPARK-45794:
----------------------------------

             Summary: Introduce state metadata source to query the streaming state metadata information 
                 Key: SPARK-45794
                 URL: https://issues.apache.org/jira/browse/SPARK-45794
             Project: Spark
          Issue Type: Improvement
          Components: Structured Streaming
    Affects Versions: 3.5.0
            Reporter: Chaoqin Li


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”)_



--
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