geoffreyclaude opened a new pull request, #24747:
URL: https://github.com/apache/datafusion/pull/24747

   ## Which issue does this PR close?
   
   - Part of #19241.
   
   ## Rationale for this change
   
   The branchless IN LIST filter only needs the primitive values in an array. 
It currently rebuilds ArrayData for every batch before recovering the same 
value buffer, which adds fixed work to each filter evaluation.
   
   ## What changes are included in this PR?
   
   Read the primitive value buffer directly. The value buffer already accounts 
for array slices, so behavior is unchanged.
   
   ## Are these changes tested?
   
   Yes. Existing branchless filter tests cover slices, nulls, and all supported 
physical widths.
   
   Local benchmarks show materially lower fixed cost for small batches. The 
8,192-row case improves by about 3%.
   
   ## Are there any user-facing changes?
   
   No. Results and public APIs are unchanged.


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

Reply via email to