wgtmac opened a new pull request, #45127: URL: https://github.com/apache/arrow/pull/45127
### Rationale for this change FormatStatValue function in the parquet/types.cc employs reinterpret_cast to cast bytes to specific data types. It is undefined behavior when the bytes are unaligned. ### What changes are included in this PR? Use std::memcpy to replace reinterpret_cast. ### Are these changes tested? Pass CI. ### Are there any user-facing changes? No. -- 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]
