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(python, rust): use from_name during column projection creation #2441

Merged

Conversation

ion-elgreco
Copy link
Collaborator

Description

@Blajda I don't think from_qualified_name_ignore_case was needed here since the delta_fields don't have relation information, they are just the column names.

from_qualified_name_ignore_case will try to parse __delta_rs_c_y--1 and results into __delta_rs_c_y, while from_name just keeps the column name as-is, which is preferred.

Related Issue(s)

@ion-elgreco ion-elgreco force-pushed the fix/merge_special_characters_name_lost branch from 10fe7e5 to b6aa98b Compare April 22, 2024 22:32
@github-actions github-actions bot added binding/python Issues for the Python package binding/rust Issues for the Rust crate labels Apr 22, 2024
@ion-elgreco ion-elgreco requested a review from Blajda April 22, 2024 22:33
Copy link
Collaborator

@Blajda Blajda left a comment

Choose a reason for hiding this comment

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

LGTM!

@Blajda Blajda merged commit da6ed7b into delta-io:main Apr 23, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/python Issues for the Python package binding/rust Issues for the Rust crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TableMerger - when_matched_delete() fails when Column names contain special characters
2 participants