Skip to content

Implement Bucket Transform Table Partitioning#676

Open
Costa-SM wants to merge 5 commits intoduckdb:mainfrom
Costa-SM:bucket-partitioning
Open

Implement Bucket Transform Table Partitioning#676
Costa-SM wants to merge 5 commits intoduckdb:mainfrom
Costa-SM:bucket-partitioning

Conversation

@Costa-SM
Copy link
Contributor

@Costa-SM Costa-SM commented Jan 7, 2026

I noticed that DuckLake doesn't have support for bucket partitioning and that, apart from me, other people were also interested in this feature (discussion), so I thought I'd give it a go.
Apart from the test I implemented, I've been experimenting with it for the most part of today with a built-from-source version of DuckLake, and it seems to be working properly.

Please let me know what you guys think. :)

@pdet
Copy link
Collaborator

pdet commented Jan 8, 2026

Can you merge with main?

Copy link
Collaborator

@pdet pdet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Costa-SM,
thanks again for the PR! I think it looks great, I'm just missing a few more tests, I left a comment with a few ideas, also I think there is a conflict with main!

@@ -0,0 +1,50 @@
# name: test/sql/partitioning/bucket_partitioning.test
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add tests to all failing condition? Also add tests that stress case sensitiviness?
Can you add column types other than integers? including nested types?
Can you add tests using bucket partitining together with other partitions? identity, date, and whatnot.

@redox
Copy link
Contributor

redox commented Feb 6, 2026

@Costa-SM can I support you with this PR? It's only something we're interested in, I can definitely either help or take take over

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