File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,15 +81,15 @@ static void InitializeConsumers(py::class_<DuckDBPyRelation> &m) {
81
81
m.def (" fetch_record_batch" , &DuckDBPyRelation::ToRecordBatch,
82
82
" Execute and return an Arrow Record Batch Reader that yields all rows" , py::arg (" rows_per_batch" ) = 1000000 )
83
83
.def (" fetch_arrow_reader" , &DuckDBPyRelation::ToRecordBatch,
84
- " Execute and return an Arrow Record Batch Reader that yields all rows" , py::arg (" rows_per_batch " ) = 1000000 )
84
+ " Execute and return an Arrow Record Batch Reader that yields all rows" , py::arg (" batch_size " ) = 1000000 )
85
85
.def (" record_batch" ,
86
86
[](pybind11::object &self, idx_t rows_per_batch)
87
87
{
88
88
PyErr_WarnEx (PyExc_DeprecationWarning,
89
89
" record_batch() is deprecated, use fetch_record_batch() instead." ,
90
90
0 );
91
91
return self.attr (" fetch_record_batch" )(rows_per_batch);
92
- }, py::arg (" rows_per_batch " ) = 1000000 );
92
+ }, py::arg (" batch_size " ) = 1000000 );
93
93
}
94
94
95
95
static void InitializeAggregates (py::class_<DuckDBPyRelation> &m) {
You can’t perform that action at this time.
0 commit comments