Skip to content

Conversation

@prmoore77
Copy link

This pull request adds SQLMesh support for GizmoSQL.

prmoore77 and others added 3 commits January 15, 2026 17:10
Add support for GizmoSQL, a database server that uses DuckDB as its
execution engine and exposes an Arrow Flight SQL interface for remote
connections.

Key features:
- ADBC (Arrow Database Connectivity) with Flight SQL driver
- DuckDB SQL dialect for query generation
- Full transaction support via SQL statements (BEGIN/COMMIT/ROLLBACK)
- Lazy execution handling for DDL/DML operations
- Full catalog operations support
- Arrow-to-Pandas conversion for efficient data transfer
- TLS encryption with optional certificate verification skip
- DuckDB backend validation on connection

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use adbc_ingest for efficient Arrow-native DataFrame loading
- Replace DuckDB-style temp table approach with ADBC bulk ingestion
- Add SQL-based transaction support (BEGIN/COMMIT/ROLLBACK)
- Override transaction() method since ADBC connection methods don't work
- Add test for DataFrame bulk ingestion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Use the temporary=True flag with adbc_ingest for more efficient DataFrame
loading. DuckDB temporary tables cannot have catalog/schema prefixes, so
we reference them by name only.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@CLAassistant
Copy link

CLAassistant commented Jan 15, 2026

CLA assistant check
All committers have signed the CLA.

@tobymao
Copy link
Contributor

tobymao commented Jan 15, 2026

thanks for the submission but we're not going to merge this in at the moment. we haven't seen much demand for gizmo.

@tobymao tobymao closed this Jan 15, 2026
@prmoore77
Copy link
Author

I'll work to change the demand metric - and I'll be back 🕶️

@prmoore77
Copy link
Author

I created: https://pypi.org/project/sqlmesh-gizmosql/ in the meantime...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants