heyihong commented on code in PR #54056:
URL: https://github.com/apache/spark/pull/54056#discussion_r2782481968
##########
sql/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/StreamingForeachBatchHelper.scala:
##########
@@ -233,7 +230,7 @@ object StreamingForeachBatchHelper extends Logging {
Option(cleanerCache.putIfAbsent(key, cleaner)) match {
case Some(_) =>
- throw new IllegalStateException(s"Unexpected: a cleaner for query
$key is already set")
+ throw IllegalStateErrors.cleanerAlreadySet()
Review Comment:
key 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]