alamb commented on PR #8790:
URL: https://github.com/apache/arrow-rs/pull/8790#issuecomment-3499295595

   I am not a python expert nor have I fully understood all the discussion on 
this ticket, 
   
   > At least I personally think having such a wrapper could be nice, since it 
simplifies stuff a bit when you anyways already have Vec<RecordBatch> on the 
Rust side somewhere or need to handle a pyarrow.Table on the Python side and 
want to have an easy method to generate such a thing from Rust. One still could 
mention in the documentation that generally, streaming approaches are highly 
preferred, and that the pyarrow.Table convenience wrapper shall only be used in 
cases where users know what they're doing.
   
   This would be my preferred approach -- make it easy to go from Rust <> 
Python, while trying to encourage good practices (e.g. streaming). There is no 
reason to be pedantic and force someone through hoops to make PyTable if that 
is what they want
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to