5 ms·
Good question! The main reason is that sqlglot is written in Python, so it wouldn't integrate natively with our Go codebase. We actually faced a similar decisio
by guptamanan100 8mo ago
Good question! The main reason is that sqlglot is written in Python, so it wouldn't integrate natively with our Go codebase. We actually faced a similar decision with pg_query_go (https://github.com/pganalyze/pg_query_go https://github.com/pganalyze/pg_query_go) and passed on that too, anything that requires bridging another language means translating the AST back into Go, which adds a performance cost we wanted to avoid.
- Lemaxoxo 8mo agoOk that makes sense! On my side I can get away with using it through WASM. But your performance needs won't allow that.
- guptamanan100 8mo agoRight exactly!