-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Currently, using obstore's AsyncFsspecStore
for df.to_parquet()
does not work (no error but also no files uploaded). It seems like we only need to add write()
method in the BufferedFileSimple
class and use the obstore.put()
there.
obstore/obstore/python/obstore/fsspec.py
Lines 177 to 186 in b40d59b
def _open(self, path, mode="rb", **kwargs): | |
"""Return raw bytes-mode file-like from the file-system""" | |
return BufferedFileSimple(self, path, mode, **kwargs) | |
class BufferedFileSimple(fsspec.spec.AbstractBufferedFile): | |
def __init__(self, fs, path, mode="rb", **kwargs): | |
if mode != "rb": | |
raise ValueError("Only 'rb' mode is currently supported") | |
super().__init__(fs, path, mode, **kwargs) |
I would like ask if there is any existing progress on it? If not, I can help working on this.
Metadata
Metadata
Assignees
Labels
No labels