mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
Add support for transpiling SQL from MySQL, PostgreSQL, SQLite, Snowflake, DuckDB, and 25+ other dialects into ClickHouse SQL using the `polyglot-sql` Rust library. This follows the same integration pattern as the existing PRQL support: Rust library with C FFI -> transpile to ClickHouse SQL -> parse with standard `ParserQuery`. Usage: SET allow_experimental_polyglot_dialect = 1; SET dialect = 'polyglot'; SET polyglot_dialect = 'sqlite'; SELECT IFNULL(a, 1) FROM t; New settings: - `allow_experimental_polyglot_dialect` (Bool) - gate for the feature - `polyglot_dialect` (String) - source dialect name (e.g. 'sqlite', 'mysql') Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
10 lines
156 B
TOML
10 lines
156 B
TOML
# workspace is required to vendor crates for all packages.
|
|
[workspace]
|
|
members = [
|
|
"skim",
|
|
"prql",
|
|
"polyglot",
|
|
"wasmtime",
|
|
]
|
|
resolver = "2"
|