mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
docs: document duckdb support
This commit is contained in:
parent
460c6fae63
commit
099c605dc5
11 changed files with 86 additions and 7 deletions
|
|
@ -715,6 +715,8 @@ class TestGeneratorEdgeCases:
|
|||
assert_valid_sql(result.sql)
|
||||
|
||||
def test_dialect_duckdb(self):
|
||||
import sqlglot
|
||||
|
||||
engine = SemanticEngine(SOURCES_DIR, dialect="duckdb")
|
||||
result = engine.query(
|
||||
{
|
||||
|
|
@ -724,6 +726,7 @@ class TestGeneratorEdgeCases:
|
|||
)
|
||||
assert result.dialect == "duckdb"
|
||||
assert result.sql
|
||||
sqlglot.parse_one(result.sql, read="duckdb")
|
||||
|
||||
def test_dialect_mysql(self):
|
||||
engine = SemanticEngine(SOURCES_DIR, dialect="mysql")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue