Skip to content

Add standalone DuckDB dialect with translations#1866

Merged
ferenc-csaky merged 2 commits intomainfrom
feature/standalone-duckdb-dialect
Feb 16, 2026
Merged

Add standalone DuckDB dialect with translations#1866
ferenc-csaky merged 2 commits intomainfrom
feature/standalone-duckdb-dialect

Conversation

@ferenc-csaky
Copy link
Collaborator

Key Changes

  • Introduce a standalone DuckDbSqlDialect instead of reusing our ExtendedPostgresSqlDialect as is for DuckDB
  • Wire in the new dialect in DuckDbStatementFactory
  • Some package refactoring under ddl
  • Add function-translation/duckdb integration test usecase
  • Introduce DuckDB SQL translations so we are covering functions we already test for Postgres

@ferenc-csaky ferenc-csaky added this to the 0.9.5 milestone Feb 13, 2026
@ferenc-csaky ferenc-csaky force-pushed the feature/standalone-duckdb-dialect branch from 21551cb to adef120 Compare February 13, 2026 20:05
@codecov
Copy link

codecov bot commented Feb 13, 2026

Codecov Report

❌ Patch coverage is 0.49875% with 399 lines in your changes missing coverage. Please review.
✅ Project coverage is 12.86%. Comparing base (cda341c) to head (b6c9fdc).
⚠️ Report is 14 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...function/translation/PostgresLikeTranslations.java 0.00% 85 Missing ⚠️
...ation/duckdb/builtin/DateFormatSqlTranslation.java 0.00% 61 Missing ⚠️
...tion/duckdb/builtin/DuckDbSqlTranslationUtils.java 0.00% 24 Missing ⚠️
...lation/duckdb/builtin/ArrayJoinSqlTranslation.java 0.00% 23 Missing ⚠️
...ion/duckdb/builtin/TimestampAddSqlTranslation.java 0.00% 23 Missing ⚠️
...tasqrl/calcite/dialect/BasePostgresSqlDialect.java 0.00% 16 Missing ⚠️
...nslation/duckdb/builtin/ElementSqlTranslation.java 0.00% 14 Missing ⚠️
.../translation/duckdb/builtin/EltSqlTranslation.java 0.00% 14 Missing ⚠️
...com/datasqrl/calcite/dialect/DuckDbSqlDialect.java 0.00% 13 Missing ⚠️
...tion/duckdb/builtin/ArrayRemoveSqlTranslation.java 0.00% 11 Missing ⚠️
... and 37 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1866      +/-   ##
============================================
- Coverage     13.09%   12.86%   -0.23%     
- Complexity      734      735       +1     
============================================
  Files           549      580      +31     
  Lines         16126    16427     +301     
  Branches       1894     1913      +19     
============================================
+ Hits           2112     2114       +2     
- Misses        13821    14120     +299     
  Partials        193      193              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ferenc-csaky ferenc-csaky force-pushed the feature/standalone-duckdb-dialect branch from cbd7790 to b6c9fdc Compare February 16, 2026 17:05
@ferenc-csaky ferenc-csaky merged commit 8764d7d into main Feb 16, 2026
12 checks passed
@ferenc-csaky ferenc-csaky deleted the feature/standalone-duckdb-dialect branch February 16, 2026 17:35
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.

1 participant