TileDB-Py icon indicating copy to clipboard operation
TileDB-Py copied to clipboard

tiledb.walk() hangs indefinitely when blob with folder name exists

Open The-Fonz opened this issue 9 months ago • 1 comments

In cloud blob storage, there is no concept of a folder, just a concept of a "separator" like /. Blobs with the name of your intended folder can exist. When walking a bucket that has a blob with the "folder" name, tiledb.walk() hangs indefinitely.

To reproduce:

tiledb v0.23.1

Bucket with group/array like this:

# Nothing wrong here
gs://bucket/group/__tiledb_group.tdb
gs://bucket/group/array/...

# Hangs indefinitely when walking with tiledb.walk("gs://bucket/")
gs://bucket/group/
gs://bucket/group/__tiledb_group.tdb
gs://bucket/group/array/...

The-Fonz avatar Oct 12 '23 11:10 The-Fonz

Hi @The-Fonz, just to clarify, in the second scenario there is an object called group? (along with items underneath the prefix group/...)

gs://bucket/group # <- This is an object?

ihnorton avatar Oct 12 '23 12:10 ihnorton