Skip to content

Conversation

@Fokko
Copy link
Contributor

@Fokko Fokko commented Nov 20, 2024

Fixes #4563

I'm open to other angles to fix the problem, but quite a few folks seem to run into this. This PR skips over the field, so it will be excluded from the evaluation. The field-id projection makes sure that we skip over the field.

Another option would be to extract the field from the struct, but that's far down in the execution path. Besides that, there is zero value in it, because the field has been dropped from the current schema, so you will never filter on it.

@Fokko Fokko force-pushed the fd-ignore-deleted-schema-evolution-fields branch from 7557e3a to d96f947 Compare November 20, 2024 17:07
@Fokko
Copy link
Contributor Author

Fokko commented Dec 9, 2024

This is actually unsafe for V1 tables :3

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

1 participant