Commit d92c334
committed
Simplify factory to return XarrayRecordBatchReader directly
XarrayRecordBatchReader already implements __arrow_c_stream__, so there's
no need to wrap it in pa.RecordBatchReader.from_stream(). The Rust code
can consume it directly via ArrowArrayStreamReader::from_pyarrow_bound.1 parent efb23fd commit d92c334
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
233 | | - | |
| 232 | + | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
237 | 236 | | |
238 | 237 | | |
0 commit comments