heyihong commented on code in PR #54056:
URL: https://github.com/apache/spark/pull/54056#discussion_r2782478661
##########
sql/connect/server/src/main/scala/org/apache/spark/sql/connect/service/SessionHolder.scala:
##########
@@ -496,9 +497,7 @@ case class SessionHolder(userId: String, sessionId: String,
session: SparkSessio
graphId,
(_, existing) => {
if (Option(existing).isDefined) {
- throw new IllegalStateException(
- s"Pipeline execution for graph ID $graphId already exists. " +
- s"Stop the existing execution before starting a new one.")
+ throw IllegalStateErrors.executeHolderAlreadyExists(s"graph ID
$graphId")
Review Comment:
ditto
--
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]