lidavidm opened a new pull request #7543:
URL: https://github.com/apache/arrow/pull/7543


   `ArrowBuf.setBytes` has an override that uses a 8-byte-at-a-time copy loop 
if the byte buffer does not provide an array and is not direct. Unfortunately, 
this means it'll mangle data when the byte buffer is big-endian, as it then 
writes the data into the little-endian ArrowBuf. This fixes it by setting the 
byte order before copying, and then restoring it.


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

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


Reply via email to