gengliangwang commented on code in PR #46980:
URL: https://github.com/apache/spark/pull/46980#discussion_r1640650149
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamExecution.scala:
##########
@@ -322,7 +322,8 @@ abstract class StreamExecution(
if (state.compareAndSet(INITIALIZING, ACTIVE)) {
// Log logical plan at the start of the query to help debug issues
related to
// plan changes.
- logInfo(s"Finish initializing with logical plan:\n$logicalPlan")
+ logInfo(log"Finish initializing with logical plan:\n" +
+ log"${MDC(LogKeys.LOGICAL_PLAN_LEAVES, logicalPlan)}")
Review Comment:
QUERY_PLAN
--
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]