Chaoqin Li created SPARK-45558:
----------------------------------

             Summary: Introduce a metadata file for streaming stateful operator
                 Key: SPARK-45558
                 URL: https://issues.apache.org/jira/browse/SPARK-45558
             Project: Spark
          Issue Type: Improvement
          Components: Structured Streaming
    Affects Versions: 3.5.0
            Reporter: Chaoqin Li


The information to store in the metadata file:
 * operator name (no need to be unique among stateful operators in the query)

 * state store name
 * numColumnsPrefixKey: > 0 if prefix scan is enabled, 0 otherwise

The body of metadata file will be in json format. The metadata file will be 
versioned just as other streaming metadata file to be future proof.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to