Skip to content

Bug fix: Data buffer is not resized for byte objects after completing the buffer and offsets conversion#2150

Merged
kounelisagis merged 4 commits intomainfrom
agis/wrong-calculation-of-the-size-of-the-last-element
Feb 4, 2025
Merged

Bug fix: Data buffer is not resized for byte objects after completing the buffer and offsets conversion#2150
kounelisagis merged 4 commits intomainfrom
agis/wrong-calculation-of-the-size-of-the-last-element

Conversation

@kounelisagis
Copy link
Member

This PR fixes an issue with the incorrect calculation of the data_buffer size when empty bytes are present in the Python list being written to a TileDB Array. The size of the data_buffer was incorrectly set to the size of the Python list, which is incorrect because empty bytes are not included in the data_buffer being sent to the QueryExperimental::set_data_buffer C++ API.


[sc-62594]

@kounelisagis kounelisagis requested a review from ihnorton February 4, 2025 11:22
@kounelisagis kounelisagis merged commit 3d42661 into main Feb 4, 2025
23 of 33 checks passed
@kounelisagis kounelisagis deleted the agis/wrong-calculation-of-the-size-of-the-last-element branch February 4, 2025 22:09
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