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

Bug fix: consolidation failure on dense arrays without respecting current domain #5390

Open
wants to merge 13 commits into
base: dev
Choose a base branch
from

Conversation

kounelisagis
Copy link
Member

@kounelisagis kounelisagis commented Nov 28, 2024

This PR addresses a bug in the Domain::expand_to_tiles(NDRange*) function, which previously did not respect the current domain. The lack of this consideration led to errors when the tile extent was larger than the current domain, causing out-of-bounds issues during consolidation. To resolve this, the PR introduces a new function that appropriately accounts for the current domain.

[sc-59793] and single-cell-data/TileDB-SOMA#3383

Huge kudos to @johnkerl for getting 99.9% of this done.


TYPE: BUG
DESC: This PR fixes a bug in Domain::expand_to_tiles(NDRange*), which failed to respect the current domain, causing errors when tile extents exceeded it. A new function is introduced to properly account for the current domain during consolidation.

@kounelisagis kounelisagis marked this pull request as ready for review November 28, 2024 18:13
Copy link
Contributor

@johnkerl johnkerl left a comment

Choose a reason for hiding this comment

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

LGTM, and thank you!!

I left some requested changes. Given timezone skew, and the U.S. holiday, I won't mark these as 'request changes' but will rather just let you make them.

tiledb/sm/array_schema/array_schema.h Outdated Show resolved Hide resolved
tiledb/sm/array_schema/array_schema.h Outdated Show resolved Hide resolved
tiledb/sm/array_schema/array_schema.cc Outdated Show resolved Hide resolved
tiledb/sm/array_schema/array_schema.cc Outdated Show resolved Hide resolved
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.

3 participants