Expose dialect internals for SQLc support #316
Replies: 1 comment
-
Hi, @casimcdaniels - go-duckdb only has access to any functionality exposed by duckdb's C API. As a side note, we (duckdb) are also looking into a sane way to generate lightweight Go bindings from our C API. These bindings are interesting as they would enable users to write duckdb extensions in Go. Possibly, the same bindings could eventually be used with sqlc. But that project is still in its infant stage. Here are the links; we'll move these into the duckdb repo, once/if they mature enough. :D https://github.com/taniabogatsch/goofy-duck (example extension) https://github.com/taniabogatsch/duckdb-go-api (first experiments with bindings). |
Beta Was this translation helpful? Give feedback.
-
It would be awesome and an amazing data engineering workflow to be able to write SQL and generate go bindings to results using sqlc. Per this discussion, there is interest (including me) but this package does not expose the parser and dialect internals to support adapting parsing logic to the generation engine. What do you think about adding support for this so work can be started on integrating the dialect into sqlc?
Beta Was this translation helpful? Give feedback.
All reactions