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-51010][SQL] Fix AlterColumnSpec not reporting resolved status correctly #49705

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ctring
Copy link
Contributor

@ctring ctring commented Jan 28, 2025

What changes were proposed in this pull request?

#49559 introduces AlterColumnSpec, which has the field newPosition that should have been accounted for when calling resolved. Because it is currently not accounted for, AlterColumnSpec reports resolved to be true even when newPosition is not resolved.

Why are the changes needed?

While this is currently not a problem with Spark, this might affect extensions or become a surprise in the future.

Does this PR introduce any user-facing change?

No

How was this patch tested?

New unit test

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

No

@github-actions github-actions bot added the SQL label Jan 28, 2025
@ctring
Copy link
Contributor Author

ctring commented Jan 28, 2025

@cloud-fan could you take a look at this?

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.

1 participant