Read time: 15 minutes
The sqlglot library is a Python SQL parser and transpiler. When working with SQL in a JavaScript or TypeScript application, you can call sqlglot directly from Node.js using Pyodide.
This is useful for handling SQL dialect differences if your production environment runs on BigQuery and your local testing environment uses DuckDB. This post explains the initial setup and how to persist packages for regular use.
