delta-rs icon indicating copy to clipboard operation
delta-rs copied to clipboard

Show progress bar during delta operations

Open ion-elgreco opened this issue 1 year ago • 3 comments

Description

Use Case It woud we be nice if can follow the progress of the delta operations, currently there is no feedback while writing or doing any kind of other operation.

Related Issue(s)

ion-elgreco avatar Dec 21 '23 10:12 ion-elgreco

@ion-elgreco I assume this is meant from the Python side of things? The way I have seen this typically handled is that there is the "normal" API and then a "progress API" which has a callback mechanism that can be optionally invoked by the library so the user can have feedback during longer operations.

Do you have an API suggestion in mind to propose?

rtyler avatar Dec 22 '23 17:12 rtyler

I think it could also make sense for Rust users. We probably need to build it in rust and then expose a callback mechanism to Python.

I don't have any api design in mind yet, the idea just popped in my head.

We probably need to check at what level of granularity we want to trace things.

ion-elgreco avatar Dec 22 '23 20:12 ion-elgreco

the related issue https://github.com/delta-io/delta-rs/issues/1048 mentions some very rough ideas on how to do this.

roeap avatar Dec 22 '23 20:12 roeap