dtenedor commented on code in PR #45904:
URL: https://github.com/apache/spark/pull/45904#discussion_r1556511199
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/StreamingJoinHelper.scala:
##########
@@ -284,7 +287,8 @@ object StreamingJoinHelper extends PredicateHelper with
Logging {
Seq(negateIfNeeded(castedLit, negate))
case a @ _ =>
logWarning(
- s"Failed to extract state value watermark from condition
$exprToCollectFrom due to $a")
+ log"Failed to extract state value watermark from condition " +
+ log"${MDC(JOIN_CONDITION, exprToCollectFrom)} due to
${MDC(JOIN_CONDITION, a)}")
Review Comment:
Sorry about this, I did not know we had to have unique keys for the log
keys. Fixed now.
--
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]