Skip to content

database: add DuckDB dialect support#1018

Open
nathannewyen wants to merge 1 commit intopressly:mainfrom
nathannewyen:add-duckdb-dialect
Open

database: add DuckDB dialect support#1018
nathannewyen wants to merge 1 commit intopressly:mainfrom
nathannewyen:add-duckdb-dialect

Conversation

@nathannewyen
Copy link
Copy Markdown

Summary

Add DuckDB dialect support using SEQUENCE for auto-incrementing IDs.

DuckDB doesn't support AUTOINCREMENT (SQLite) or GENERATED BY DEFAULT AS IDENTITY (PostgreSQL).

Fixes #1010

DuckDB requires SEQUENCE for auto-incrementing IDs (no AUTOINCREMENT).

Fixes pressly#1010
Comment thread internal/dialects/duckdb_test.go
@astronautas
Copy link
Copy Markdown

When DuckDB? 🙏 We are evaluating an Iceberg Lakehouse for our DWH needs. Planning to contributing a Spark dialect, since that's the easiest way to run Iceberg DDLs, with a local runner. DuckDB would be even more lightweight on resources and dependendencies.

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.

Add a duckdb-compliant dialect

3 participants