-
Notifications
You must be signed in to change notification settings - Fork 413
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
DeltaTable Merge throws in merging if there are uppercase in Schema. #1797
Comments
@rtyler i can work on this issue if required, But i need some guidance on how to load the project and initial setup. |
@mohitbansal-gep if you want to contribute, you can follow the guide here: https://github.com/delta-io/delta-rs/blob/main/python/CONTRIBUTING.md |
@mohitbansal-gep I you wrap those column with double quotes it should resolve the issue. |
@Blajda Tried above but same issue. DeltaError: Generic DeltaTable error: Schema error: No field named "s.Sales_order_id". |
@Blajda any more info? |
Same here. If you change the predicate of the merge, you will get the same error on a different Column. @ion-elgreco what would be a fair direction for a fix here? Should the merge be able to handle table schemas with upper casing? (that definitely has my preference) Schema:
Error: |
@ArthurSteijn Also fyi, |
@ion-elgreco I have a potential fix at the rust level for this which should not require any python related changes. Will upload the branch later today and add new test to confirm. |
Ah nice, even better! |
@Blajda any updates? |
I think a fix for this will come after the refactor to logical plans are merged. This should come soonish just waiting on a new datafusion release. |
@Blajda I checked against the latest main, however the issue still persist with logical plans. |
Environment
Delta-rs version: deltalake==0.12.0
Binding:
Environment:
Bug
What happened:
If deltatable schema has attribute with upper case in them, then the merge throws Generic deltatable error stating field not found
What you expected to happen:
The Deltatable merge operation should have been performed.
How to reproduce it:
Sample code:-
This will throw:- DeltaError: Generic DeltaTable error: Schema error: No field named s.sales_order_id.
More details:
Referenced from this blog post https://delta.io/blog/2023-10-22-delta-rs-python-v0.12.0/
The text was updated successfully, but these errors were encountered: