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: column parsing to include nested columns and enclosing char #2737

Merged

Conversation

gtrawinski
Copy link
Contributor

@gtrawinski gtrawinski commented Aug 6, 2024

Description

Added column parsing to include nested columns and `` enclosing to adopt 0.18.x

Addressing issue

#2572
https://github.com/delta-io/delta/blob/4b102d34a2ce881b2a851b4c6cfbf2ab3ab5534f/spark/src/main/scala/org/apache/spark/sql/delta/DeltaConfig.scala#L549-L561

Changes:

Added:

extract_enclosed_string - is a utility function to remove enclosing characters from a string.
get_stats_field - is a function to retrieve a field from a schema, handling nested field names and removing enclosing backticks.

@github-actions github-actions bot added the binding/rust Issues for the Rust crate label Aug 6, 2024
@gtrawinski gtrawinski closed this Aug 6, 2024
@gtrawinski gtrawinski reopened this Aug 6, 2024
@gtrawinski gtrawinski changed the title fix: column parsing to include nested columns and enclosing to adopt… fix: column parsing to include nested columns and enclosing char Aug 6, 2024
Copy link
Collaborator

@ion-elgreco ion-elgreco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thankss guys

@ion-elgreco ion-elgreco added this pull request to the merge queue Aug 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Aug 14, 2024
…0.18.x

chore: removed unused imports

fix: PR feedback for stats field parsing
@ion-elgreco ion-elgreco added this pull request to the merge queue Aug 14, 2024
Merged via the queue into delta-io:main with commit 29db286 Aug 14, 2024
18 checks passed
@alexwilcoxson-rel alexwilcoxson-rel deleted the backtick_structfield_support branch August 14, 2024 23:44
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.

4 participants