heyihong commented on code in PR #41743:
URL: https://github.com/apache/spark/pull/41743#discussion_r1247871144


##########
connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/connect/client/SparkConnectClientSuite.scala:
##########
@@ -104,7 +105,7 @@ class SparkConnectClientSuite extends ConnectFunSuite with 
BeforeAndAfterEach {
     val request = 
AnalyzePlanRequest.newBuilder().setSessionId("abc123").build()
 
     // Failed the ssl handshake as the dummy server does not have any server 
credentials installed.
-    assertThrows[StatusRuntimeException] {
+    assertThrows[SparkException] {

Review Comment:
   Yes, the detailed error message is included in SparkException. Below is an 
example message from SparkException:
   ```
   "[UNRESOLVED_COLUMN.WITH_SUGGESTION] A column or function parameter with 
name `*` cannot be resolved. Did you mean one of the following? [`name`, `age`, 
`height`].
   ```



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