Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-50650][SQL] Improve logging in single-pass Analyzer #49271

Conversation

vladimirg-db
Copy link
Contributor

@vladimirg-db vladimirg-db commented Dec 23, 2024

What changes were proposed in this pull request?

  1. Log initial unresolved plans. This was we see the full plan, and track the downwards traversal.
  2. Log expression tree changes in the same manner as operator tree changes.

Why are the changes needed?

To make single-pass Analyzer debugging easier.

Examples:
image

image

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing tests.

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

No.

@github-actions github-actions bot added the SQL label Dec 23, 2024
@vladimirg-db vladimirg-db force-pushed the vladimirg-db/single-pass-analyzer/improve-plan-logger branch from 0dd8452 to 8a0bdbb Compare December 23, 2024 16:50
@gotocoding-DB
Copy link
Contributor

LGTM.

I think there are no major issues, Wenchen. Could we merge it, please?
Output formatting could be fixed asynchronously later.

@vladimirg-db vladimirg-db force-pushed the vladimirg-db/single-pass-analyzer/improve-plan-logger branch from 8a0bdbb to a70fb64 Compare December 24, 2024 20:40
@cloud-fan
Copy link
Contributor

LGTM, can you give some logging examples for some simple queries?

@cloud-fan
Copy link
Contributor

thanks, merging to master!

@cloud-fan cloud-fan closed this in a483dfd Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants