Yuchen Liu created SPARK-48447:
----------------------------------

             Summary: Check state store provider class before invoking the 
constructor
                 Key: SPARK-48447
                 URL: https://issues.apache.org/jira/browse/SPARK-48447
             Project: Spark
          Issue Type: Improvement
          Components: Structured Streaming
    Affects Versions: 4.0.0
            Reporter: Yuchen Liu


We should restrict that only classes 
[extending|https://github.com/databricks/runtime/blob/1440e77ab54c40981066c22ec759bdafc0683e76/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/HDFSBackedStateStoreProvider.scala#L73]
 {{StateStoreProvider}} can be constructed to prevent customer from 
instantiating arbitrary class of objects.



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