-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
feat(python): Add merge
mode to write_delta
and remove pyarrow to delta conversions
#12392
feat(python): Add merge
mode to write_delta
and remove pyarrow to delta conversions
#12392
Conversation
MERGE
in write_delta and remove pyarrow to delta conversionsMERGE
in write_delta and remove pyarrow to delta conversions
MERGE
in write_delta and remove pyarrow to delta conversionsmerge
mode to write_delta
and remove pyarrow to delta conversions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few quick comments - I will review more thoroughly when I can actually run the code (e.g. when new deltalake release is out).
All right, just ping me when this is ready for another look. |
4c4687c
to
0dc5d3a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I rebased this as it was outdated.
This needs some tests for the merge mode, then it can be merged.
2ed0aed
to
0dc5d3a
Compare
@stinodego added a test and your suggestion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks! Happy to get rid of the pyarrow conversion logic and let deltalake
handle that 👍
Great, thanks @stinodego! |
Closes #11983
@stinodego it's ready to review, but I keep it in DRAFT because we should merge it with main after the functionality of this PR: delta-io/delta-rs#1820 lands in the new release of deltalake, since the schema conversions directly in polars become obsolete.
Once it's available I will update this PR to pin the new version of deltalake.