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(clickhouse): Rewrite count query without CTE #2073

Merged
merged 1 commit into from
May 28, 2024

Conversation

vincent-pochet
Copy link
Collaborator

@vincent-pochet vincent-pochet commented May 27, 2024

Description

This PR is trying to improve query performance for the count aggregation on Clickhouse queries by removing the CTE in favor of a pure select query.

It also takes advantage of the uniqExact method to replace COUNT(DISTINC

@vincent-pochet vincent-pochet self-assigned this May 27, 2024
@vincent-pochet vincent-pochet merged commit 29d4ab9 into main May 28, 2024
6 checks passed
@vincent-pochet vincent-pochet deleted the feat-clickhouse-cte branch May 28, 2024 07:13
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.

4 participants