Skip to content

Optimize group by for single partition topics #836

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 2 commits into from
May 5, 2025

Conversation

ovv
Copy link
Contributor

@ovv ovv commented Apr 14, 2025

Group by operations on topics with a single partition are now optimized to avoid creating a repartition topic. Instead, the messages are directly transformed to use the new key, as all messages go to the same partition.

@ovv ovv changed the title Optimize groupb y for single partition topics Optimize group by for single partition topics Apr 15, 2025
@ovv ovv force-pushed the quent/single-partition-groupby branch 2 times, most recently from 87f2af7 to 5999c3a Compare April 15, 2025 12:53
@ovv ovv marked this pull request as ready for review April 16, 2025 11:58
gwaramadze
gwaramadze previously approved these changes Apr 21, 2025
Copy link
Collaborator

@daniil-quix daniil-quix left a comment

Choose a reason for hiding this comment

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

See the comments

ovv added 2 commits May 5, 2025 10:59
Group by operations on topics with a single partition are now optimized to avoid
creating a repartition topic. Instead, the messages are directly transformed to
use the new key, as all messages go to the same partition.
@ovv ovv force-pushed the quent/single-partition-groupby branch from cbbcea8 to dd1a36b Compare May 5, 2025 10:11
@ovv ovv merged commit 65acdd8 into main May 5, 2025
4 checks passed
@daniil-quix daniil-quix deleted the quent/single-partition-groupby branch May 5, 2025 13:14
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.

3 participants