hvanhovell commented on code in PR #54113:
URL: https://github.com/apache/spark/pull/54113#discussion_r2864997071
##########
sql/connect/server/src/main/scala/org/apache/spark/sql/connect/service/SparkConnectExecutePlanHandler.scala:
##########
@@ -36,20 +36,20 @@ class SparkConnectExecutePlanHandler(responseObserver:
StreamObserver[proto.Exec
.getOrCreateIsolatedSession(v.getUserContext.getUserId, v.getSessionId,
previousSessionId)
val executeKey = ExecuteKey(v, sessionHolder)
- val decompressedRequest =
-
v.toBuilder.setPlan(PlanCompressionUtils.decompressPlan(v.getPlan)).build()
+ // Log compressed sizes from gRPC Context (set by
RequestDecompressionInterceptor)
+ val compressedSize = RequestDecompressionContext.getCompressedSize
Review Comment:
If we are only going to log this, why have a RequestDecompressionContext at
all? You also log in RequestDecompressionInterceptor.
--
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]