-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Kernel] Use schema iterable for table feature checks #4752
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
Merged
vkorukanti
merged 3 commits into
delta-io:master
from
emkornfield:stack/update_table_features
Jun 17, 2025
Merged
[Kernel] Use schema iterable for table feature checks #4752
vkorukanti
merged 3 commits into
delta-io:master
from
emkornfield:stack/update_table_features
Jun 17, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Jun 12, 2025
2018850
to
d7e5d92
Compare
scottsand-db
approved these changes
Jun 12, 2025
5 tasks
d7e5d92
to
19c2fe5
Compare
vkorukanti
pushed a commit
that referenced
this pull request
Jun 16, 2025
## 🥞 Stacked PR Use this [link](https://github.com/delta-io/delta/pull/4742/files) to review incremental changes. - [**stack/schemaIdToSchemaIterable**](#4742) [[Files changed](https://github.com/delta-io/delta/pull/4742/files)] - [stack/update_table_features](#4752) [[Files changed](https://github.com/delta-io/delta/pull/4752/files/4631f204cf59016d876a0c3bd408e7c67112b22b..19c2fe51f33bba7e4e584874238884d04bef514e)] - [stack/update_validators](#4753) [[Files changed](https://github.com/delta-io/delta/pull/4753/files/19c2fe51f33bba7e4e584874238884d04bef514e..378a8eda53800bcbfffc648459f5b0af69fdfffc)] - [stack/remove_recurse_from_schema_utils](#4754) [[Files changed](https://github.com/delta-io/delta/pull/4754/files/378a8eda53800bcbfffc648459f5b0af69fdfffc..c4c744aa0f7e6601da7b2d12254eeb0360d9ca13)] --------- #### Which Delta project/connector is this regarding? - [ ] Spark - [ ] Standalone - [ ] Flink - [x] Kernel - [ ] Other (fill in here) ## Description This PR refactors findMaxId to use schema iterable. Relates to #4744 ## How was this patch tested? Existing unit tests. ## Does this PR introduce _any_ user-facing changes? No.
vkorukanti
pushed a commit
that referenced
this pull request
Jun 17, 2025
## 🥞 Stacked PR Use this [link](https://github.com/delta-io/delta/pull/4753/files/19c2fe51f33bba7e4e584874238884d04bef514e..378a8eda53800bcbfffc648459f5b0af69fdfffc) to review incremental changes. - [stack/schemaIdToSchemaIterable](#4742) [[Files changed](https://github.com/delta-io/delta/pull/4742/files)] - [stack/update_table_features](#4752) [[Files changed](https://github.com/delta-io/delta/pull/4752/files/4631f204cf59016d876a0c3bd408e7c67112b22b..19c2fe51f33bba7e4e584874238884d04bef514e)] - [**stack/update_validators**](#4753) [[Files changed](https://github.com/delta-io/delta/pull/4753/files/19c2fe51f33bba7e4e584874238884d04bef514e..378a8eda53800bcbfffc648459f5b0af69fdfffc)] - [stack/remove_recurse_from_schema_utils](#4754) [[Files changed](https://github.com/delta-io/delta/pull/4754/files/378a8eda53800bcbfffc648459f5b0af69fdfffc..c4c744aa0f7e6601da7b2d12254eeb0360d9ca13)] --------- #### Which Delta project/connector is this regarding? - [ ] Spark - [ ] Standalone - [ ] Flink - [x] Kernel - [ ] Other (fill in here) ## Description Updates validators to use streams instead of filterRecursively. This makes the code more idiomatic, with less hops. Relates to #4744 ## How was this patch tested? Existing tests. ## Does this PR introduce _any_ user-facing changes? No
vkorukanti
pushed a commit
that referenced
this pull request
Jun 17, 2025
## 🥞 Stacked PR Use this [link](https://github.com/delta-io/delta/pull/4754/files/378a8eda53800bcbfffc648459f5b0af69fdfffc..c4c744aa0f7e6601da7b2d12254eeb0360d9ca13) to review incremental changes. - [stack/schemaIdToSchemaIterable](#4742) [[Files changed](https://github.com/delta-io/delta/pull/4742/files)] - [stack/update_table_features](#4752) [[Files changed](https://github.com/delta-io/delta/pull/4752/files/4631f204cf59016d876a0c3bd408e7c67112b22b..19c2fe51f33bba7e4e584874238884d04bef514e)] - [stack/update_validators](#4753) [[Files changed](https://github.com/delta-io/delta/pull/4753/files/19c2fe51f33bba7e4e584874238884d04bef514e..378a8eda53800bcbfffc648459f5b0af69fdfffc)] - [**stack/remove_recurse_from_schema_utils**](#4754) [[Files changed](https://github.com/delta-io/delta/pull/4754/files/378a8eda53800bcbfffc648459f5b0af69fdfffc..c4c744aa0f7e6601da7b2d12254eeb0360d9ca13)] --------- #### Which Delta project/connector is this regarding? - [ ] Spark - [ ] Standalone - [ ] Flink - [x] Kernel - [ ] Other (fill in here) ## Description Remove last usages of filterRecursively in favor of SchemaIterable. Relates to #4744 ## How was this patch tested? Existing tests. ## Does this PR introduce _any_ user-facing changes? No.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🥞 Stacked PR
Use this link to review incremental changes.
Which Delta project/connector is this regarding?
Description
Migrate to using SchemaIterable for checking for table features.
Relates to https://github.com/delta-io/delta/issues/4744Relates to #4744
How was this patch tested?
Existing tests
Does this PR introduce any user-facing changes?
No