TileDB icon indicating copy to clipboard operation
TileDB copied to clipboard

Feature Request: VFS::copy_dir() and VFS::copy_file()`

Open mikejiang opened this issue 4 years ago • 5 comments

VFS is very handy but is missing some important APIs: copy a folder/file. Not sure how difficult it is to implement them. But it will make vfs module even more complete and powerful with this addition. (Right now I have to write a new tiledb to the dest even when I just simply need to do the copy, which I assume will be more efficient)

mikejiang avatar Jun 18 '20 00:06 mikejiang

Agreed, this is a good suggestion. We'll try to add it soon. Thanks!

stavrospapadopoulos avatar Jun 18 '20 01:06 stavrospapadopoulos

That will be fantastic!

mikejiang avatar Jun 18 '20 04:06 mikejiang

any updates on this?We have a data structure using tiledb as the backend, it's clone method needs to be able to create a copy of the original object. Without the vfs.copy_dir. It has to read the data from disk and invoke write routine to create a new tiledb array, which is really not efficient.

mikejiang avatar Sep 18 '20 21:09 mikejiang

Hi Mike, yeah we'll try to implement this soon. Thanks for the reminder.

stavrospapadopoulos avatar Sep 20 '20 16:09 stavrospapadopoulos

Thanks. We've been actually waiting on this along with two other features

  • https://feedback.tiledb.com/tiledb-core/p/tag-fragments-with-stringslabels
  • https://feedback.tiledb.com/tiledb-core/p/undo-functionality-ie-canceldelete-fragments-based-on-time

Currently h5 is still the default backend for our entire cytometry tool chains. but once these missing features are added, I think we are in good shape to fully adopt tiledb as the default.

mikejiang avatar Sep 20 '20 17:09 mikejiang