itholic commented on code in PR #48346:
URL: https://github.com/apache/spark/pull/48346#discussion_r1793110741


##########
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala:
##########
@@ -1062,7 +1062,7 @@ class SingleSessionSuite extends 
HiveThriftServer2TestBase {
         statement.executeQuery("SET 
spark.sql.hive.thriftServer.singleSession=false")
       }.getMessage
       assert(e.contains(
-        "Cannot modify the value of a static config: 
spark.sql.hive.thriftServer.singleSession"))
+        "CANNOT_MODIFY_CONFIG"))

Review Comment:
   I tried to retrieve the root case by using `getCause` to use `checkError`, 
but seems like the `SQLException` just returns `null`



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