zeroshade commented on issue #36095:
URL: https://github.com/apache/arrow/issues/36095#issuecomment-1595265705

   We should definitely include updated docs for both Write and WriteBuffered 
(I believe WriteBuffered currently doesn't actually have a doc string 
associated with it).
   
   As for specific contents, I say go for mentioning the pros and cons for one 
over the other when dealing with record batches. If your record batches are 
significantly large (i.e. you want row groups to be roughly the same layout as 
your records) then `Write` makes sense, alternately if you are getting lots of 
smaller records that you want to ensure get aggregated into a larger row group, 
then you'll need to use `WriteBuffered` which will have higher memory usage but 
better write performance (and likely better read performance too).


-- 
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