MaxGekk commented on code in PR #36350:
URL: https://github.com/apache/spark/pull/36350#discussion_r859607293


##########
sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala:
##########
@@ -424,4 +424,17 @@ class QueryExecutionErrorsSuite
       matchMsg = true
     )
   }
+
+  test("UNSUPPORTED_SAVE_MODE: unsupported null saveMode") {
+    withTempPath { path =>
+      val e = intercept[SparkIllegalStateException] {
+        val saveMode: SaveMode = null

Review Comment:
   Besides of passing a null, is it possible to trigger the error from user 
space?



-- 
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]

Reply via email to