srielau commented on code in PR #36693: URL: https://github.com/apache/spark/pull/36693#discussion_r891395982
########## core/src/test/scala/org/apache/spark/SparkFunSuite.scala: ########## @@ -264,6 +264,87 @@ abstract class SparkFunSuite } } + /** + * Checks an exception with an error class against expected results. + * @param exception The exception to check + * @param errorClass The expected error class identifying the error + * @param errorSubClass Optional the expected subclass, None if not given + * @param sqlState Optional the expected SQLSTATE, not verified if not supplied + * @param parameters A map of parameter names and values. The names are as defined + * in the error-classes file. Review Comment: Done -- 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-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org