Skip to content

Commit

Permalink
[Dev] Apply duckdb's merget_patch.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Feb 12, 2024
1 parent 6046058 commit d243436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/arrow_scan_ipc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ unique_ptr <FunctionData> ArrowIPCTableFunction::ArrowScanBind(ClientContext &co

// TODO Everything below this is identical to the bind in duckdb/src/function/table/arrow.cpp
auto &data = *res;
stream_factory_get_schema(stream_factory_ptr, data.schema_root);
stream_factory_get_schema((ArrowArrayStream *) stream_factory_ptr, data.schema_root.arrow_schema);
for (idx_t col_idx = 0; col_idx < (idx_t) data.schema_root.arrow_schema.n_children; col_idx++) {
auto &schema = *data.schema_root.arrow_schema.children[col_idx];
if (!schema.release) {
Expand All @@ -75,7 +75,7 @@ unique_ptr <FunctionData> ArrowIPCTableFunction::ArrowScanBind(ClientContext &co
}
names.push_back(name);
}
ArrowTableFunction::RenameArrowColumns(names);
QueryResult::DeduplicateColumns(names);
return std::move(res);
}

Expand Down

0 comments on commit d243436

Please sign in to comment.