Hi,
I have an array that throws an error saying there are duplicate coords when trying to consolidate & vacuum (no error when reading/writing). So, I added the dedup_coords option via config:
config = tiledb.Config()
config = tiledb.Config({
"sm.tile_cache_size":str(5_000_000),
"sm.consolidation.step_min_frags":"2",
"sm.consolidation.step_max_frags":"20",
"sm.consolidation.steps":"20",
"sm.consolidation.buffer_size":str(5_000_000),
"sm.consolidation.step_size_ratio": "0.002",
"sm.dedup_coords":'true'
})
ctx = tiledb.Ctx(config)
tiledb.consolidate('arr',ctx=ctx)
tiledb.vacuum('arr',config=config)
When I do that, the consolidation process works. However, now a lot of empty folders are created. Is this a bug? Is it safe to delete empty folders without corrupting the array?