Skip to content

Replace dropped PartitonField with AnyType - #11542

Closed
Fokko wants to merge 3 commits into
apache:mainfrom
Fokko:fd-fix
Closed

Fokko wants to merge 3 commits into
apache:mainfrom
Fokko:fd-fix

Conversation

@Fokko

@Fokko Fokko commented Nov 13, 2024 •

Copy link
Copy Markdown
Contributor

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

Fokko commented Nov 20, 2024

Copy link
Copy Markdown
Contributor Author

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