Skip to content

Conversation

@patricebender
Copy link
Member

@patricebender patricebender commented Sep 25, 2025

for join relevant paths within infix filters always build a correlated subquery with the current join node and put the complete filter condition into the subqueries where.

I tested quite some examples with this approach and they all seem to do the trick. This approach also works for trivial conditions like where books[author.ID = 5] for which we would not necessarily need to do this.


TODO:

  • expand with infix filter path expressions
  • tests

for join relevant paths within infix filters __always__ build
a correlated subquery with the current join node and put the complete
filter condition into the subqueries `where`.

I tested quite some examples with this approach and they all seem to do the trick.
This approach also works for trivial conditions like `where books[author.ID = 5]` for
which we would not necessarily need to do this.
this is a preparation for #1361 and it also makes our lifes easier
as the infix filter at this place is semantically equivalent to a
regular `where` clause.
@patricebender patricebender changed the base branch from main to patrice/infix-leaf October 7, 2025 10:36
patricebender added a commit that referenced this pull request Oct 24, 2025
this is a preparation for #1361 and it also makes our lifes easier as
the infix filter at this place is semantically equivalent to a regular
`where` clause.
Base automatically changed from patrice/infix-leaf to main October 24, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants