gengliangwang commented on code in PR #47275:
URL: https://github.com/apache/spark/pull/47275#discussion_r1671326486
##########
connector/connect/server/src/main/scala/org/apache/spark/sql/connect/service/SessionHolder.scala:
##########
@@ -63,9 +62,11 @@ case class SessionHolder(userId: String, sessionId: String,
session: SparkSessio
private lazy val planCache: Option[Cache[proto.Relation, LogicalPlan]] = {
if (SparkEnv.get.conf.get(Connect.CONNECT_SESSION_PLAN_CACHE_SIZE) <= 0) {
logWarning(
- s"Session plan cache is disabled due to non-positive cache size." +
- s" Current value of '${Connect.CONNECT_SESSION_PLAN_CACHE_SIZE.key}'
is" +
- s"
${SparkEnv.get.conf.get(Connect.CONNECT_SESSION_PLAN_CACHE_SIZE)}.")
+ log"Session plan cache is disabled due to non-positive cache size." +
+ log" Current value of '${MDC(LogKeys.CACHE_SIZE_KEY,
Review Comment:
```suggestion
log" Current value of '${MDC(LogKeys.CONFIG,
```
--
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]