cloud-fan commented on a change in pull request #28707:
URL: https://github.com/apache/spark/pull/28707#discussion_r441489537
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/StateStore.scala
##########
@@ -143,6 +145,16 @@ case class StateStoreCustomSumMetric(name: String, desc:
String) extends StateSt
case class StateStoreCustomSizeMetric(name: String, desc: String) extends
StateStoreCustomMetric
case class StateStoreCustomTimingMetric(name: String, desc: String) extends
StateStoreCustomMetric
+/**
+ * An exception thrown when an invalid UnsafeRow is detected in state store.
+ */
+class InvalidUnsafeRowException
+ extends SparkException("The streaming query failed by state format
invalidation. " +
Review comment:
Does it have to be `SparkException`?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]