geoffreyclaude opened a new pull request, #23013: URL: https://github.com/apache/datafusion/pull/23013
## Which issue does this PR close? - Part of #19241. - Stacked on #23012. - Extracted from #19390. ## Rationale for this change This is one draft PR in the `IN LIST` optimization stack. It reuses commit `9cbd00679` verbatim so the existing stack can be reviewed one step at a time. The bitmap filters work on unsigned bit patterns. This commit lets compatible 1-byte and 2-byte primitive arrays reuse those bitmap paths through zero-copy reinterpretation. ## What changes are included in this PR? - Adds zero-copy primitive reinterpretation helpers. - Enables signed 1-byte and 2-byte primitive values to use the bitmap filters. - Adds a null-short-circuit result-building helper for expensive membership checks introduced later in the stack. ## Are these changes tested? Covered by the existing `IN LIST` test suite from the original stack. ## Are there any user-facing changes? No user-facing API changes. -- 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]
