agoncharuk commented on issue #37195:
URL: https://github.com/apache/arrow/issues/37195#issuecomment-2039359678

   Hello folks, I am observing a similar issue when communicating with a 
Java-based FlightSQL server with a C++ flight SQL client.
   The C++ part is compiled with sanitizers which fails on an attempt to load 
an element offset from the binary array:
   
   `/usr/include/arrow/array/array_binary.h:74:23: runtime error: load of 
misaligned address 0x625000025f51 for type 'const offset_type', which requires 
4 byte alignment`
   
   From the replies above I understand that the Java side is not required to 
produce a properly aligned response buffer. However, given that the unaligned 
cast is a UB, shouldn't the client side make proper alignments before passing 
the data to the user?
   BTW, setting ACERO_ALIGNMENT_HANDLING=reallocate does not fix the issue.


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