zhenlineo commented on code in PR #40796:
URL: https://github.com/apache/spark/pull/40796#discussion_r1169172608


##########
connector/connect/server/src/main/scala/org/apache/spark/sql/connect/service/SparkConnectStreamHandler.scala:
##########
@@ -59,7 +59,7 @@ class SparkConnectStreamHandler(responseObserver: 
StreamObserver[ExecutePlanResp
           Utils.redact(session.sessionState.conf.stringRedactionPattern, 
v.toString)
         session.sparkContext.setLocalProperty(
           "callSite.short",
-          s"Spark Connect - ${StringUtils.abbreviate(debugString, 128)}")
+          s"Spark Connect - session_id: '${v.getSessionId}'")

Review Comment:
   Unrelated change, this just make the logging clearly to debug.



##########
connector/connect/server/src/main/scala/org/apache/spark/sql/connect/service/SparkConnectStreamHandler.scala:
##########
@@ -59,7 +59,7 @@ class SparkConnectStreamHandler(responseObserver: 
StreamObserver[ExecutePlanResp
           Utils.redact(session.sessionState.conf.stringRedactionPattern, 
v.toString)
         session.sparkContext.setLocalProperty(
           "callSite.short",
-          s"Spark Connect - ${StringUtils.abbreviate(debugString, 128)}")
+          s"Spark Connect - session_id: '${v.getSessionId}'")

Review Comment:
   Unrelated change, this just make the logging cleaner to debug.



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