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

Continuations: Result does not contain all rows for BITMAP #3097

Open
ohadzeliger opened this issue Feb 4, 2025 · 0 comments
Open

Continuations: Result does not contain all rows for BITMAP #3097

ohadzeliger opened this issue Feb 4, 2025 · 0 comments

Comments

@ohadzeliger
Copy link
Contributor

When adding continuations to BITMAP query, the result only contain some rows.

Steps To Reproduce:

  1. Look at bitmap-aggregate-index.yamsql

  2. Change the test to run under Force Continuations

  3. The test below only return the first row:

    • query: This
    • explain: "ISCAN(AGG_INDEX_1 <,>) | MAP (_ AS 0) | AGG (bitmap_construct_agg_l((._0.ID) bitmap_bit_position 10000) AS 0) GROUP BY ((._0.ID) bitmap_bucket_offset 10000 AS 0) | MAP (._1._0 AS BITMAP, _._0._0 AS OFFSET)"
    • unorderedResult: [{BITMAP: xStartsWith_1250'060000c', 'OFFSET':0}, {BITMAP: xStartsWith_1250'02', 'OFFSET':10000}]

Note: because of the unordered results it is harder to reproduce with adding maxRows. Potentially nullifying the result verification and adding maxRows: 1 can allow the test to first retrieve all results…

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

No branches or pull requests

1 participant