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

fix(clickhouse): Uniq count should count uniq values... #2721

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

vincent-pochet
Copy link
Collaborator

Context

This PR fixes the unique count aggregation for clickhouse event store

Description

The unique count implementation uses window function to avoid double counting multiple addition or removals of the same unique property. The clickhouse implementation was a rewriting of the one implemented in clickhouse but it was not working as expected.

@vincent-pochet vincent-pochet merged commit e7318a6 into main Oct 22, 2024
6 checks passed
@vincent-pochet vincent-pochet deleted the fix-clickhouse-unique-count branch October 22, 2024 07:00
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