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


##########
sql/connect/server/src/test/scala/org/apache/spark/sql/connect/pipelines/SparkDeclarativePipelinesServerTest.scala:
##########
@@ -90,7 +90,7 @@ class SparkDeclarativePipelinesServerTest extends 
SparkConnectServerTest with St
     if (iter.hasNext) {
       iter.next()
     } else {
-      throw new IllegalStateException(s"Invalid response: $iter")
+      throw IllegalStateErrors.noBatchesAvailable()

Review Comment:
   iter is missing?



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