Skip to content

Conversation

@hrach
Copy link
Member

@hrach hrach commented Oct 29, 2024

It's kinda funny how this change looks simple. It took me 5 hours to come up with it
🤯💥🤯💥🤯💥🤯💥🤯💥🤯💥

@hrach hrach linked an issue Oct 29, 2024 that may be closed by this pull request
@hrach hrach self-assigned this Oct 29, 2024
@hrach hrach added this to the v5.0 milestone Oct 29, 2024
@hrach hrach force-pushed the rewrites-two-phase branch from 4402b54 to dedc0ba Compare October 29, 2024 22:33
@hrach hrach force-pushed the rewrites-two-phase branch from ee8b661 to a026c48 Compare October 31, 2024 10:29
To provide more smarted SQL rewrites, we need to know if the expression
itself is in AND/OR junction and if other parts of the junction
require a HAVING clause. This is possible only after getting the full
expression tree. Then we collect the actual expressions.

[closes #690]
[closes #686]
@hrach hrach force-pushed the rewrites-two-phase branch from a026c48 to ad6dfe0 Compare October 31, 2024 10:35
@hrach hrach merged commit 43e6322 into main Oct 31, 2024
@hrach hrach deleted the rewrites-two-phase branch October 31, 2024 10:41
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.

Missing primary filter lifting to HAVING clause Performance issues in simpley ANY queries with or.

3 participants