Skip to content

Alternating AND/OR stacks short-circuit retries #27722

Backlog

Description

@rluvaton

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

Activity

  1. added
    enhancement
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions