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

[Backport release-2.8] Backport 3002 to release 2.8 #3018

Merged
merged 2 commits into from
Mar 30, 2022

Conversation

ihnorton
Copy link
Member


TYPE: IMPROVEMENT
DESC: Dense reader: fix user buffer offset computation for multi-index queries.

(cherry picked from commit 740c589)

KiterLuc and others added 2 commits March 29, 2022 15:59
…x queries. (#3002)

* Dense reader: fix user buffer offset computation for multi-index queries.

The previous implementation of the dense reader would order the results
in the user buffer by N-dimension range index, for example, if there are
2 ranges set per dimensions, the data would be ordered from N-dimension
range 1 to 4. This implementation is incorrect as it doesn't really
return the data in the expected row/column major.

This change computes the correct offset for the data in the user buffers
and returns the data in true row/column major order.

* Addressing feedback from ihnorton.

* Making sure ranges are sorted.

---
TYPE: IMPROVEMENT
DESC: Dense reader: fix user buffer offset computation for multi-index queries.

(cherry picked from commit 740c589)
@ihnorton ihnorton requested a review from KiterLuc March 29, 2022 16:03
@Shelnutt2 Shelnutt2 changed the title Backport 3002 to release 2.8 [Backport release-2.8] Backport 3002 to release 2.8 Mar 29, 2022
@Shelnutt2 Shelnutt2 merged commit c3a3b5e into release-2.8 Mar 30, 2022
@Shelnutt2 Shelnutt2 deleted the backport-3002-to-release-2.8 branch March 30, 2022 00:37
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