andygrove commented on code in PR #546: URL: https://github.com/apache/datafusion-comet/pull/546#discussion_r1632321751
########## core/src/parquet/util/hash_util.rs: ########## @@ -45,17 +47,19 @@ const MURMUR_R: i32 = 47; unsafe fn murmur_hash2_64a(data_bytes: &[u8], seed: u64) -> u64 { let len = data_bytes.len(); let len_64 = (len / 8) * 8; - let data_bytes_64 = - std::slice::from_raw_parts(&data_bytes[0..len_64] as *const [u8] as *const u64, len / 8); Review Comment: This is unsafe because it does not create a u64-aligned buffer and results in a panic with Rust 1.78 -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org