Skip to content

Commit

Permalink
Check sqlState in checkError()
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxGekk committed Sep 10, 2024
1 parent ab7aea1 commit e6e9c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/test/scala/org/apache/spark/SparkFunSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ abstract class SparkFunSuite
errorClass: String,
sqlState: String,
context: ExpectedContext): Unit =
checkError(exception, errorClass, None, Map.empty, false, Array(context))
checkError(exception, errorClass, Some(sqlState), Map.empty, false, Array(context))

protected def checkError(
exception: SparkThrowable,
Expand Down

0 comments on commit e6e9c3d

Please sign in to comment.