uros-b opened a new pull request, #57597:
URL: https://github.com/apache/spark/pull/57597
### What changes were proposed in this pull request?
Fixes the developer-facing hint printed by the structured-logging style
check so its MDC example shows single braces `${MDC(TASK_ID, taskId)}` instead
of the doubled `${{...}}`.
### Why are the changes needed?
The example lives in a plain (non-f) string literal, so the doubled braces
were rendered literally, teaching incorrect syntax to anyone who copied the
hint. The real structured-logging API uses single braces.
### Does this PR introduce _any_ user-facing change?
No (developer tooling message only).
### How was this patch tested?
Manual inspection: confirmed the hint is emitted from a plain (non-f) string
literal, so the doubled braces render literally, and that the real
structured-logging API (`Logging.scala`) uses single braces. Reviewer can
re-run `dev/structured_logging_style.py` to see the corrected hint.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Opus 4.8)
--
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]