anishshri-db commented on code in PR #46791:
URL: https://github.com/apache/spark/pull/46791#discussion_r1619401726
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/StateStore.scala:
##########
@@ -289,6 +289,10 @@ class InvalidUnsafeRowException(error: String)
"among restart. For the first case, you can try to restart the application
without " +
s"checkpoint or use the legacy Spark version to process the streaming
state.\n$error", null)
+class InvalidStateStoreProvider
+ extends RuntimeException("The streaming query failed because the given
StateStoreProvider " +
+ "does not extend
org.apache.spark.sql.execution.streaming.state.StateStoreProvider")
Review Comment:
Can we make sure that we are using the new error class framework here ?
cc - @HeartSaVioR , @WweiL
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]