jerrypeng commented on code in PR #57259:
URL: https://github.com/apache/spark/pull/57259#discussion_r3616132943
##########
sql/core/src/test/scala/org/apache/spark/sql/streaming/StreamTest.scala:
##########
@@ -712,9 +714,15 @@ trait StreamTest extends SharedSparkSession with
TimeLimits {
s"incorrect exception returned by query.exception()")
val exception = currentStream.exception.get
- verify(exception.cause.getClass === ef.causeClass,
- "incorrect cause in exception returned by query.exception()\n" +
- s"\tExpected: ${ef.causeClass}\n\tReturned:
${exception.cause.getClass}")
+ if (ef.typeIsSuperClass) {
Review Comment:
Good call out. Lets add it for consistency.
--
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]