jdesjean commented on code in PR #41443:
URL: https://github.com/apache/spark/pull/41443#discussion_r1220151181


##########
connector/connect/server/src/main/scala/org/apache/spark/sql/connect/service/ExecutePlanHolder.scala:
##########
@@ -19,6 +19,18 @@ package org.apache.spark.sql.connect.service
 
 import org.apache.spark.connect.proto
 
+object ExecutePlanHolder {
+  val JOB_GROUP_ID_PATTERN = 
"User_(\\d*)_Session_([a-z0-9\\-]*)_Request_([a-z0-9\\-]*)".r
+  def getQueryOperationId(jobGroupId: String): Option[String] = {

Review Comment:
   I can add an instance method, however all the events require the operation 
id and we only have access to ExecutePlanHolder during postStarted.



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