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

Add DISTINCT ON and LIMIT BY support to ClickHouse dialect #817

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

bikeshedder
Copy link
Contributor

This adds DISTINCT ON and LIMIT BY support to the ClickHouse dialect.

I'm not too happy that I had to add the LIMIT BY to the _apply_pagination method and pass the **kwargs around but I don't see any less intrusive way of doing this at the moment.

@bikeshedder bikeshedder requested a review from a team as a code owner September 12, 2024 12:38
@coveralls
Copy link

Coverage Status

coverage: 98.438% (+0.04%) from 98.398%
when pulling 43cd358 on bikeshedder:improve_clickhouse_dialect
into 53a77eb on kayak:master.

@bikeshedder
Copy link
Contributor Author

Any chance of getting this reviewed and merged? I'm depending on this in an application I'm building and about to replace PyPika by something else as there seems almost zero movement in this project over the past few months.

Copy link

@AzisK AzisK left a comment

Choose a reason for hiding this comment

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

Looks good to me

@AzisK AzisK merged commit 1c9646f into kayak:master Nov 28, 2024
5 checks passed
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