Skip to content

Commit 25fb0d9

Browse files
committed
Fix physical operator and bump submodule
1 parent fb10ef5 commit 25fb0d9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

external/duckdb

Submodule duckdb updated 445 files

src/duckdb_py/pyrelation.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -969,8 +969,8 @@ duckdb::pyarrow::Table DuckDBPyRelation::ToArrowTableInternal(idx_t batch_size,
969969
ScopedConfigSetting scoped_setting(
970970
config,
971971
[&batch_size](ClientConfig &config) {
972-
config.get_result_collector = [&batch_size](ClientContext &context,
973-
PreparedStatementData &data) -> PhysicalOperator & {
972+
config.get_result_collector =
973+
[&batch_size](ClientContext &context, PreparedStatementData &data) -> unique_ptr<PhysicalOperator> {
974974
return PhysicalArrowCollector::Create(context, data, batch_size);
975975
};
976976
},
@@ -999,8 +999,8 @@ py::object DuckDBPyRelation::ToArrowCapsule(const py::object &requested_schema)
999999
ScopedConfigSetting scoped_setting(
10001000
config,
10011001
[&batch_size](ClientConfig &config) {
1002-
config.get_result_collector = [&batch_size](ClientContext &context,
1003-
PreparedStatementData &data) -> PhysicalOperator & {
1002+
config.get_result_collector =
1003+
[&batch_size](ClientContext &context, PreparedStatementData &data) -> unique_ptr<PhysicalOperator> {
10041004
return PhysicalArrowCollector::Create(context, data, batch_size);
10051005
};
10061006
},

0 commit comments

Comments
 (0)