neilconway opened a new issue, #22910: URL: https://github.com/apache/datafusion/issues/22910
### Describe the bug ArrayMap bucket lookups computed `key.wrapping_sub(offset) as usize`, and then bounds-checked the result after the cast. On 64-bit hosts, that is fine, but on 32-bit hosts, the cast will truncate the computed bucket offset to its low 32 bits. Given a large probe key whose low 32 bits are a valid bucket array index, this can produce incorrect results. ### To Reproduce _No response_ ### Expected behavior _No response_ ### Additional context _No response_ -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
