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-50990][SQL] Refactor UpCast resolution out of the Analyzer #49669

Conversation

vladimirg-db
Copy link
Contributor

What changes were proposed in this pull request?

Refactor UpCast resolution out of the Analyzer.

Why are the changes needed?

To reuse this code in single-pass Resolver.

Does this PR introduce any user-facing change?

No, just a refactoring.

How was this patch tested?

Existing tests.

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

Copilot.nvim.

@github-actions github-actions bot added the SQL label Jan 25, 2025
Copy link
Member

@MaxGekk MaxGekk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for CI.

@MaxGekk
Copy link
Member

MaxGekk commented Jan 26, 2025

+1, LGTM. Merging to master/4.0.
Thank you, @vladimirg-db.

@MaxGekk MaxGekk closed this in d0b1b0b Jan 26, 2025
MaxGekk pushed a commit that referenced this pull request Jan 26, 2025
### What changes were proposed in this pull request?

Refactor `UpCast` resolution out of the `Analyzer`.

### Why are the changes needed?

To reuse this code in single-pass `Resolver`.

### Does this PR introduce _any_ user-facing change?

No, just a refactoring.

### How was this patch tested?

Existing tests.

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

Copilot.nvim.

Closes #49669 from vladimirg-db/vladimirg-db/refactor-upcast-resolution-out.

Authored-by: Vladimir Golubev <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
(cherry picked from commit d0b1b0b)
Signed-off-by: Max Gekk <[email protected]>
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.

2 participants