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

Replace dropped PartitonField with AnyType #11542

Closed
wants to merge 3 commits into from
Closed

Conversation

Fokko
Copy link
Contributor

@Fokko Fokko commented Nov 13, 2024

When a field has previously been dropped from the schema, we don't know the type until we have the Avro schema of the partition struct, instead, it would be an option to replace this with an AnyType. This is okay since the field is not relevant for pruning.

Fixes #4563

@Fokko Fokko changed the title Replace dropped `field with AnyType` Replace dropped PartitonField with AnyType Nov 13, 2024
@bryanck bryanck added the AZURE label Nov 13, 2024
@github-actions github-actions bot removed the AZURE label Nov 17, 2024
@Fokko
Copy link
Contributor Author

Fokko commented Nov 20, 2024

Bad idea, since I don't want to expose the new type to the public API.

@Fokko Fokko closed this Nov 20, 2024
@Fokko Fokko deleted the fd-fix branch November 20, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ALTER TABLE ... DROP COLUMN allows dropping a column used by old PartitionSpecs
2 participants