delta-rs
delta-rs copied to clipboard
store userMetadata on write operations
Description
With spark deltalake we can store userMetadata with write operations, thus we can access them in delta history. It can be an arbitrary json data. Is there a way to store it with delta-rs python binding? Doc link
Use Case In our case, we want to store user data with write operation to match transaction with user.
Related Issue(s) https://github.com/delta-io/delta-rs/issues/133
Should be trivial to expose, I can take a look at it after new years eve
Can userMetadata
be added to app_metadata
before being passed to commit
(unless it is already the same thing and just needs to be exposed to Python)? Adding a new parameter to commit
would touch many operations.
I am working on https://github.com/delta-io/delta-rs/issues/1957 so can also look into this after I'm done there
this is exactly what we need.
+1
@r3stl355 it's the same thing, see my PR: https://github.com/delta-io/delta-rs/pull/1994
cool, so this doesn't touch Rust at all, nice