Skip to content

Commit a968d11

Browse files
committed
Fix physical operator
1 parent f1d8ea8 commit a968d11

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/duckdb_py/pyrelation.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -969,8 +969,7 @@ 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 = [&batch_size](ClientContext &context, PreparedStatementData &data) {
974973
return PhysicalArrowCollector::Create(context, data, batch_size);
975974
};
976975
},
@@ -999,8 +998,7 @@ py::object DuckDBPyRelation::ToArrowCapsule(const py::object &requested_schema)
999998
ScopedConfigSetting scoped_setting(
1000999
config,
10011000
[&batch_size](ClientConfig &config) {
1002-
config.get_result_collector = [&batch_size](ClientContext &context,
1003-
PreparedStatementData &data) -> PhysicalOperator & {
1001+
config.get_result_collector = [&batch_size](ClientContext &context, PreparedStatementData &data) {
10041002
return PhysicalArrowCollector::Create(context, data, batch_size);
10051003
};
10061004
},

0 commit comments

Comments
 (0)