Michael-J-Ward commented on issue #800:
URL: 
https://github.com/apache/datafusion-python/issues/800#issuecomment-2313438334

   I tracked down the error.
   
   It occurs when attempting to convert the `pyarrow` result into an `arrow-rs` 
`RecordBatch`
   
   
https://github.com/apache/datafusion-python/blob/ae7470e99cad4650675ea361aebc64da78dd1f39/src/dataset_exec.rs#L61-L65
   
   `arrow-rs` does have an option for creating "count" like `RecordBatches` but 
it requires an additional config in `RecordBatchOptions`: 
https://github.com/apache/arrow-rs/pull/1552
   
   However, the `from_pyarrow_bound` method only uses the default options.
   
https://github.com/apache/arrow-rs/blob/b711f23a136e0b094a70a4aafb020d4bb9f60619/arrow/src/pyarrow.rs#L334-L392
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to