-
Notifications
You must be signed in to change notification settings - Fork 114
DuckDB v1.5 variegata #5901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
DuckDB v1.5 variegata #5901
Conversation
Signed-off-by: Nicholas Gates <[email protected]>
Signed-off-by: Nicholas Gates <[email protected]>
Signed-off-by: Nicholas Gates <[email protected]>
Signed-off-by: Nicholas Gates <[email protected]>
Signed-off-by: Nicholas Gates <[email protected]>
| struct ReusableDict { | ||
| buffer_ptr<VectorChildBuffer> buffer; | ||
|
|
||
| explicit ReusableDict(buffer_ptr<VectorChildBuffer> buf) : buffer(std::move(buf)) { | ||
| } |
There was a problem hiding this comment.
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?
| // 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)); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
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-variegatabranch 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