You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing large arrays in regions, the code calls _write_array_with_tensorstore multiple times (once for each region), and each time it tries to create a new TensorStore dataset with create=True. After the first region is written, the dataset already exists, so subsequent calls fail with "ALREADY_EXISTS".
Modify the _write_with_tensorstore function to handle the case where the dataset already exists. Check if it's the first region being written (or create the dataset only once) and then open existing datasets for subsequent regions.
Re: #152
0 commit comments