Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

kounelisagis
Copy link
Member

@kounelisagis kounelisagis commented May 20, 2024

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.

Copy link
Member

@ihnorton ihnorton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@kounelisagis kounelisagis merged commit 3f5b4c9 into dev May 22, 2024
34 checks passed
@kounelisagis kounelisagis deleted the agis/sc-47408/py-query-return-incomplete-should-return-error-for-dense branch May 22, 2024 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants