https://lakefs.io/ logo
#dev
Title
# dev
a

Ariel Shaqed (Scolnicov)

11/23/2023, 8:55 AM
@Niro can you please add context to this issue? Trying to understand if this is the tension between APIs that provide separate "open" and "create" routines and APIs that provide a single "open" routine, or something else. (Personally I prefer the former option whenever there is no read+write nice, as then the two return tours are completely disjoint and it is typesafe!)
n

Niro

11/23/2023, 11:32 AM
This was open as part of a discussion I had with @Oz Katz regarding the expected functionality (and compatibility with fsspec) and support of a writer object. As I understand the initial PRD suggested adding write modes to
open
, which was replaced by a
create
method which is provided with the data.
This design constricts us in scenarios where we want to provide a writer to another process which performs the data fabircation
a

Ariel Shaqed (Scolnicov)

11/23/2023, 5:29 PM
Got it, and obviously useful once you put it like that. Arguably this is most convenient for just about anything. Thanks!
heart lakefs 1
3 Views