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

fix: enable field_with_name to support nested fields with '.' delimiter #2519

Merged
merged 2 commits into from
May 17, 2024

Conversation

alexwilcoxson-rel
Copy link
Contributor

@alexwilcoxson-rel alexwilcoxson-rel commented May 16, 2024

Description

field_with_name on schema type does not handle nested field names. This comes up when setting the data skipping stats column property. For example when I set this value to parent.child, the stats handling code in table load/scan throws an error that it cannot find a field named parent.child.

Area where we would see the error:

.map(|col| match schema.field_with_name(col) {

@github-actions github-actions bot added the binding/rust Issues for the Rust crate label May 16, 2024
@rtyler rtyler enabled auto-merge (rebase) May 17, 2024 16:06
@rtyler rtyler merged commit 402ddf9 into delta-io:main May 17, 2024
20 checks passed
@alexwilcoxson-rel alexwilcoxson-rel deleted the nested-field-with-name branch May 17, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/rust Issues for the Rust crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants