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

   ### Is your feature request related to a problem or challenge?
   
   This applies once #27302 is merged. Before that, `AND` does not retry on 
error.
   
   Another case from the #27302 review: alternating `AND`/`OR` stacks the 
retries, even when the query succeeds.
   
   In `a > 0 AND (b > 0 OR (c > 0 AND 10 / x > 1))`, with only `a > 0` 
rejecting the `x = 0` rows and no level filtering before, each batch can 
evaluate the division 5 times, 4 of them failing.
   
   ### Describe the solution you'd like
   
   Avoid retrying the same failing expression at every level, for example by 
passing the undecided rows down to the nested expression instead of retrying on 
the whole batch first.
   
   ### 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