rluvaton opened a new issue, #27671:
URL: https://github.com/apache/datafusion/issues/27671

   ### Is your feature request related to a problem or challenge?
   
   The `short_circuit/and/*` and `short_circuit/or/*` benchmarks in 
`datafusion/physical-expr/benches/binary_op.rs` only use a non-null left side 
and a non-volatile right side.
   
   #27471 (`OR`) and #27302 (`AND`) changed two paths that are not measured:
   
   - nullable left side: NULL rows are now undecided rows, so they can be 
filtered before evaluating the right side
   - volatile right side: always evaluated only on the undecided rows, 
regardless of how many rows are left, which copies every column of the batch
   
   This was raised in the review of #27471.
   
   ### Describe the solution you'd like
   
   Add benchmarks for both `AND` and `OR`:
   
   - nullable left side, with few and with most rows undecided
   - volatile right side (e.g. `a OR random() < 0.5`) with ~90% of rows 
undecided, also with a wide batch to show the copy cost
   
   ### Describe alternatives you've considered
   
   _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]

Reply via email to