TileDB-Inc / TileDB-Py

Python interface to the TileDB storage engine
MIT License
190 stars 34 forks source link

Fix Query constructor to return error for dense arrays with return_incomplete=True #1976

Closed kounelisagis closed 4 months ago

kounelisagis commented 4 months ago

Incomplete queries are only supported for sparse arrays in TileDB-Py at this time. Dense reads will internally reallocate buffers and resubmit the query until successful completion. Docs: https://docs.tiledb.com/main/how-to/arrays/reading-arrays/incomplete-queries

Additionally, create a test to verify the expected behavior for both sparse and dense arrays.