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

feat(unique-count): Add grouped unique count to PostgresStore #1696

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

rsempe
Copy link
Collaborator

@rsempe rsempe commented Feb 15, 2024

Context

The goal is to refactor the way we’re doing the aggregation for the unique count.

Description

The goal of this PR is to add the method Events::Stores::PostgresStore#grouped_unique_count.

The SQL logic has been extracted into Events::Stores::Postgres::UniqueCountQuery.

@rsempe rsempe merged commit 4116cca into main Feb 15, 2024
6 checks passed
@rsempe rsempe deleted the unique-count branch February 15, 2024 14:57
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