Skip to content

Commit d243436

Browse files
committed
[Dev] Apply duckdb's merget_patch.patch
1 parent 6046058 commit d243436

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/arrow_scan_ipc.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ unique_ptr <FunctionData> ArrowIPCTableFunction::ArrowScanBind(ClientContext &co
5353

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

0 commit comments

Comments
 (0)