pitrou commented on PR #48717:
URL: https://github.com/apache/arrow/pull/48717#issuecomment-3742846547

   > **The bug is manifestable through the public `WriteBatch` API.** When 
users call:
   > 
   > ```c++
   > ByteArray empty{0, nullptr};
   > writer->WriteBatch(n, nullptr, nullptr, &empty);
   > ```
   
   Why is this correct? I'm not sure it is ok to pass a nullptr ByteArray to 
WriteBatch. Also, if you pass `n` for length, you need `n` ByteArray values, 
not a single one...
   


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