Skip to content

Commit 6ae6557

Browse files
authored
Fix: Update duckdb to get Latest Relation Definition (#122)
* Update duckdb to get Latest Relation * Update Workflow definition to use fix commit for duckdb submodule * Fix extension code required because of update of duckdb * Exclude "windows_amd64_rtools" from archs
1 parent 82bad97 commit 6ae6557

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/main_distribution.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
name: Build extension binaries
2222
uses: duckdb/extension-ci-tools/.github/workflows/_extension_distribution.yml@main
2323
with:
24-
duckdb_version: main
25-
ci_tools_version: main
26-
exclude_archs: "wasm_mvp;wasm_eh;wasm_threads;windows_amd64;windows_amd64_mingw"
24+
duckdb_version: ca5af32c331f9d5ea49f7158d5c83a47f25b8b79
25+
ci_tools_version: 5bdbe4d606d78dbd749f9578ba8ca639feece023
26+
exclude_archs: "wasm_mvp;wasm_eh;wasm_threads;windows_amd64;windows_amd64_mingw;windows_amd64_rtools"
2727
extension_name: substrait
2828

duckdb

Submodule duckdb updated 292 files

src/to_substrait.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,7 @@ substrait::Rel *DuckDBToSubstrait::TransformGet(LogicalOperator &dop) {
13171317
auto &column_ids = dget.GetColumnIds();
13181318
for (auto col_idx : dget.projection_ids) {
13191319
auto struct_item = select->add_struct_items();
1320-
struct_item->set_field(static_cast<int32_t>(column_ids[col_idx]));
1320+
struct_item->set_field(static_cast<int32_t>(column_ids[col_idx].GetPrimaryIndex()));
13211321
// FIXME do we need to set the child? if yes, to what?
13221322
}
13231323
projection->set_allocated_select(select);

0 commit comments

Comments
 (0)