Skip to content

Commit 6f0ef29

Browse files
committed
fix: store result of converting RecordBatches to PyArrow for debugging
1 parent a24e280 commit 6f0ef29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dataframe.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,8 @@ impl PyDataFrame {
397397
.map_err(PyDataFusionError::from)?;
398398
// cannot use PyResult<Vec<RecordBatch>> return type due to
399399
// https://github.com/PyO3/pyo3/issues/1813
400-
batches.into_iter().map(|rb| rb.to_pyarrow(py)).collect()
400+
let result = batches.into_iter().map(|rb| rb.to_pyarrow(py)).collect();
401+
result
401402
}
402403

403404
/// Cache DataFrame.

0 commit comments

Comments
 (0)