Skip to content

Add C++ regression test for the boolean filter stale-selection#700

Merged
adsharma merged 1 commit into
mainfrom
fix-692
Jul 18, 2026
Merged

Add C++ regression test for the boolean filter stale-selection#700
adsharma merged 1 commit into
mainfrom
fix-692

Conversation

@adsharma

Copy link
Copy Markdown
Contributor

Related: #692

Adds a query-pattern-independent C++ unit test for updateSelectedPos, directly exercising the protected method on a manually constructed ValueVector/DataChunkState. The key regression case replicates the exact conditions of issue #692:

  • UNFLAT result state with a single selected position
  • Output SelectionVector buffer pre-seeded with stale positions
  • Verifies the buffer is correctly written after updateSelectedPos

Also covers null/false/true values, flat-state fast path, and multi-selection scenarios to guard against future regressions.

)

Adds a query-pattern-independent C++ unit test for updateSelectedPos,
directly exercising the protected method on a manually constructed
ValueVector/DataChunkState.  The key regression case replicates the
exact conditions of issue #692:

- UNFLAT result state with a single selected position
- Output SelectionVector buffer pre-seeded with stale positions
- Verifies the buffer is correctly written after updateSelectedPos

Also covers null/false/true values, flat-state fast path, and
multi-selection scenarios to guard against future regressions.
@adsharma
adsharma merged commit 7adaa94 into main Jul 18, 2026
4 checks passed
@adsharma
adsharma deleted the fix-692 branch July 18, 2026 17:22
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.

1 participant