HyukjinKwon commented on code in PR #39922:
URL: https://github.com/apache/spark/pull/39922#discussion_r1098266403
##########
sql/core/src/test/scala/org/apache/spark/sql/SparkSessionExtensionSuite.scala:
##########
@@ -301,6 +305,11 @@ class SparkSessionExtensionSuite extends SparkFunSuite
with SQLHelper {
assert(result(0).getLong(0) == 101L) // Check that broken columnar Add
was used.
assert(result(1).getLong(0) == 201L)
assert(result(2).getLong(0) == 301L)
+
+ withTempPath { path =>
+ val e = intercept[Exception](df.write.parquet(path.getCanonicalPath))
Review Comment:
Can we catch more specific exception though?
--
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]