Add Clickhouse support
Author: bojdellCreated May 17, 2022Updated Aug 9, 2026
Labelsenhancementnew/engine
What do you want to change?
I've enjoyed using sqlc with postgres. However, I'm starting to do more work with Clickhouse and it would be great to also use sqlc there. I imagine this is a similar ask to https://github.com/kyleconroy/sqlc/issues/161 for sqlite and the core work required is integrating a query parser for ClickHouse. I don't have much experience in this area, but here is some potentially related content that may be helpful:
- https://github.com/ClickHouse/ClickHouse/issues/7595
- https://github.com/ClickHouse/ClickHouse/pull/11298
What database engines need to be changed?
No response
What programming language backends need to be changed?
No response
Source: sqlc-dev/sqlc