Skip to content

Issue #7852: Window Vectorisation #7996

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

Merged
merged 17 commits into from
Jun 20, 2023
Merged

Conversation

hawkfish
Copy link
Contributor

  • Vectorise top level functions.
  • Factor WindowCustomAggregate out of WindowSegmentTree.
  • Refactor WindowSegmentTree to be a subclass of WindowAggregateState.
  • Move Aggregate loop into WindowAggregateState::Execute
  • Fully vectorise WindowConstantAggregate to batch partition copies
  • Fully vectorise segment tree computation
  • Remove in-place SelectionVector use as it is now amortised
  • Fix filter indexing (Another victory for vector size 2).

Copy link
Collaborator

@Mytherin Mytherin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! LGTM

@Mytherin Mytherin merged commit 2189836 into duckdb:feature Jun 20, 2023
@hawkfish hawkfish deleted the window-vectors branch June 22, 2023 15:36
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