[
https://issues.apache.org/jira/browse/SPARK-45794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jungtaek Lim resolved SPARK-45794.
----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 43660
[https://github.com/apache/spark/pull/43660]
> 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
> Assignee: Chaoqin Li
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]