About
Credits
The open-source projects SQLBabel builds on.
SQLBabel wouldn’t exist without two projects:
- Polyglot by Tobias (@tobilg). SQLBabel’s tokenizer, parser and syntax tree are a modified fork of Polyglot’s, and much of that code is still his. Its semantic checks and its rule for widening mixed signed and unsigned integers are also ported from Polyglot.
- SQLGlot by Toby Mao and contributors, for years of work on SQL transpilation that this space builds on. SQLBabel also uses the Snowflake SQL of SQLGlot’s test suite as case inputs, with the expected answers recorded from Snowflake itself.
The translation to DuckDB, the typing and the recorded evidence behind them are SQLBabel’s own. SQLBabel goes a different way from both projects on translation. It doesn’t rewrite the tree and print it out. It checks each rule against recorded warehouse results and refuses what it can’t prove.
Both are MIT licensed. Their licence texts and the exact files concerned are in
THIRD_PARTY_NOTICES,
which ships with every release.