clownxc commented on code in PR #40707:
URL: https://github.com/apache/spark/pull/40707#discussion_r1162949669
##########
core/src/main/scala/org/apache/spark/SparkException.scala:
##########
@@ -355,3 +355,24 @@ private[spark] class SparkSQLFeatureNotSupportedException(
override def getErrorClass: String = errorClass
}
+
+/**
+ * User error exception thrown from Spark with an error class.
+ */
+private[spark] class SparkUserException(
Review Comment:
> I see, thank you. I try to change the code according to this idea.
> There can be thousands of user-triggered errors while the transient errors
are likely to be less than 10. I think it's better to define a new exception
for transient errors.
I see, thank you. I try to change the code according to this idea.
--
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]