Skip to content

[SPARK-57297][SQL][TESTS] Add a test that SQL execution description respects spark.sql.redaction.string.regex#56358

Open
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-57297
Open

[SPARK-57297][SQL][TESTS] Add a test that SQL execution description respects spark.sql.redaction.string.regex#56358
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-57297

Conversation

@dongjoon-hyun
Copy link
Copy Markdown
Member

@dongjoon-hyun dongjoon-hyun commented Jun 7, 2026

What changes were proposed in this pull request?

This PR adds a test to SQLExecutionSuite that verifies the SQL execution description (SparkListenerSQLExecutionStart.description) is redacted according to spark.sql.redaction.string.regex.

Why are the changes needed?

SQLExecution redacts the job description before it is recorded in SparkListenerSQLExecutionStart, but there is no test covering this behavior. This test guards the redaction so it is not accidentally dropped.

Does this PR introduce any user-facing change?

No. This is a test-only change.

How was this patch tested?

Pass the CI with the newly added test.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.8)

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

cc @sarutak

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Could you review this PR, @huaxingao ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants