You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/08/26 06:21:58 UTC

[GitHub] [spark] cloud-fan commented on a change in pull request #33573: [SPARK-36336][SQL] Add new exception of base exception used in QueryExecutionErrors

cloud-fan commented on a change in pull request #33573:
URL: https://github.com/apache/spark/pull/33573#discussion_r696324962



##########
File path: core/src/main/scala/org/apache/spark/SparkException.scala
##########
@@ -79,3 +86,141 @@ class SparkArithmeticException(errorClass: String, messageParameters: Array[Stri
   override def getErrorClass: String = errorClass
   override def getSqlState: String = SparkThrowableHelper.getSqlState(errorClass)
 }
+
+/**
+ * Class not found exception thrown from Spark with an error class.
+ */
+class SparkClassNotFoundException(

Review comment:
       shall we mark these classes as `private[spark]`? cc @gengliangwang 




-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org