-
Notifications
You must be signed in to change notification settings - Fork 851
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 Clickhouse support #1628
Comments
@kyleconroy was there an outcome of the triaging? |
An alternate solution that's likely easier to implement is to add an argument to bypass schema validation - aka allow query generation without statically checking the queries against the schema and let the user rely on test codepaths to ensure correctness of the logic. Obviously using the argument would sacrifice safety but gain flexibility, enabling support for any ANSI SQL driver. Thoughts? |
Hi, @kyleconroy I'd like to ask if there is any progress on this. |
Are you guys considering this? |
I was also curious, but I don't think it is possible with the provided ANTLR4, as the output for Go is unusable: Support was also dropped for the ANTLR4 files: Seems that a similar pattern to Postgres could be used with this |
I'm very much interested in having this as a feature, as I'd like to use this library to build tools that use ClickHouse as the only SQL-like database. |
Sqlc supporting Clickhouse is a big addition!. |
Greetings, @kyleconroy! was there any progress on this? |
bump for more support! i would love to also contribute |
support clickhouse! |
Clickhouse support! 🙌 |
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 #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:
What database engines need to be changed?
No response
What programming language backends need to be changed?
No response
The text was updated successfully, but these errors were encountered: