Skip to content

Navigation Menu

Sign in
Sign up

[SPARK-59456][SQL] Fix: RuleExecutor.PlanChangeLogger does work even when it doesn't log - #58755

Open
bhollis-dbx wants to merge 1 commit into
apache:master from
bhollis-dbx:optimize-rule-executor-wide-union
Open

[SPARK-59456][SQL] Fix: RuleExecutor.PlanChangeLogger does work even when it doesn't log #58755
bhollis-dbx wants to merge 1 commit into
apache:master from
bhollis-dbx:optimize-rule-executor-wide-union

Conversation

@bhollis-dbx

@bhollis-dbx bhollis-dbx commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Added a functional withLogLevel helper to Logging to make it easy to skip work when the log level is below a target.

Then used that in RuleExecutor.PlanChangeLogger to avoid calling fastEquals unnecessarily.

Why are the changes needed?

The existing code always called fastEquals, even when it couldn't log anything because of the log leve..

Does this PR introduce any user-facing change?

No

How was this patch tested?

The change itself is trivial.

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

Generated-by: OpenAI Codex CLI 0.147.0 (GPT-5)

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /