Skip to content

Conversation

@2010YOUY01
Copy link
Contributor

@2010YOUY01 2010YOUY01 commented Aug 6, 2024

Which issue does this PR close?

Closes #11818

Rationale for this change

Support partial aggregation skip (introduced in #11627) in bool_or(), bool_and() aggregate function.

What changes are included in this PR?

  1. Implement convert_to_state() interface for boolean grouped aggregate function.
  2. end-to-end tests.

Remaining tasks

Are these changes tested?

Yes

Are there any user-facing changes?

No

@2010YOUY01 2010YOUY01 marked this pull request as draft August 6, 2024 11:20
@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Aug 6, 2024
@alamb
Copy link
Contributor

alamb commented Aug 14, 2024

FWIW #11825 is merged

@2010YOUY01 2010YOUY01 marked this pull request as ready for review August 14, 2024 13:48
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank yoU @2010YOUY01 -- this makes sense to me 🙏

💯 for thorough testing

cc @korowa in case you are interested in how the partial aggregation skipping is propagating through the codebase

@alamb alamb merged commit 41f6dd9 into apache:main Aug 15, 2024
@alamb
Copy link
Contributor

alamb commented Aug 15, 2024

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve performance of boolean aggregates: implement convert_to_state

2 participants