Skip to content

Feat: add partitioning for ducklake databases#5030

Merged
treysp merged 2 commits intomainfrom
trey/ducklake-partitioning
Jul 28, 2025
Merged

Feat: add partitioning for ducklake databases#5030
treysp merged 2 commits intomainfrom
trey/ducklake-partitioning

Conversation

@treysp
Copy link
Contributor

@treysp treysp commented Jul 26, 2025

DuckDB does not natively support partitioning, but the ducklake extension does.

The extension requires partitioning to be set via ALTER after table creation.

This PR updates the DuckDB adapter to execute that ALTER if the table is in a ducklake catalog. For other catalog types, partitioned_by is ignored.

@treysp treysp force-pushed the trey/ducklake-partitioning branch from 1fe603c to b3756fc Compare July 26, 2025 01:07
@treysp treysp force-pushed the trey/ducklake-partitioning branch from b3756fc to af86b9f Compare July 28, 2025 16:50
@treysp treysp merged commit 82cdde0 into main Jul 28, 2025
27 checks passed
@treysp treysp deleted the trey/ducklake-partitioning branch July 28, 2025 17:14
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.

2 participants