Skip to content

Conversation

@gatesn
Copy link
Contributor

@gatesn gatesn commented Jan 9, 2026

This PR supports the breaking changes from DuckDB 1.4 to 1.5.

The DuckDB extension repo https://github.com/vortex-data/duckdb-vortex/ has an equivalent v1.5-variegata branch that builds against this branch until 1.5 is released. At that point, we should merge this branch to develop.

Before merging, we should update the build.rs to reference the released build:
https://github.com/vortex-data/vortex/pull/5901/changes#diff-9ed191f629d48027cda20fcf842b19e37d8340b098bb5ef96303a682a2d32fc2L26-R27

Fixes #5889

gatesn added 3 commits January 8, 2026 11:09
Signed-off-by: Nicholas Gates <[email protected]>
Signed-off-by: Nicholas Gates <[email protected]>
Signed-off-by: Nicholas Gates <[email protected]>
@gatesn gatesn added feature Release label indicating a new feature or request do not merge Pull requests that are not intended to merge labels Jan 9, 2026
Signed-off-by: Nicholas Gates <[email protected]>
Comment on lines +12 to +16
struct ReusableDict {
buffer_ptr<VectorChildBuffer> buffer;

explicit ReusableDict(buffer_ptr<VectorChildBuffer> buf) : buffer(std::move(buf)) {
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Cann we not use a ExternalVectorBuffer here?

Comment on lines +30 to +32
// FIXME(ngates): SetDictionaryId has been removed in favor of ReusableDictionary
// auto ddict = reinterpret_cast<duckdb::Vector*>(dict);
// DictionaryVector::SetDictionaryId(*ddict, std::string(id, id_len));
Copy link
Contributor

Choose a reason for hiding this comment

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

How do you know we don't need this? I think we need to see no perf regression?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed. I'm also checking with DuckDB Labs

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

Labels

do not merge Pull requests that are not intended to merge feature Release label indicating a new feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to DuckDB 1.5.0

3 participants