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

Push orderby criteria to data cube index queries. #185

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Conversation

jheer
Copy link
Member

@jheer jheer commented Sep 21, 2023

  • Include orderby criteria in generated data cube index queries.
  • Add dev highlight-cube example to test consistent ordering of cube query results. (thanks @spren9er!)

Prior to this PR, any orderby criteria were applied upon data cube creation, but not upon subsequent queries to the resulting data cube index table. This PR reverses the situation: orderby criteria are stripped (ignored) for cube creation, but subsequently applied to all cube index table queries to ensure correct and consistent ordering of result rows.

This change fixes the observed ordering inconsistencies between normal and data cube index query results, fixing known highlight interactor bugs over ordered data. (It does not fix the underlying issue that highlight bit vector queries may have different orderings from other queries if no orderby criteria are given.)

Close #159.

@jheer jheer merged commit f428036 into main Sep 21, 2023
2 checks passed
@jheer jheer deleted the jh/highlight-cube branch September 21, 2023 22:05
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.

Highlight interactor does not work properly with data cube indexing
1 participant