Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[planner bugfix 16] add expressions to HAVING (#12668) #12698

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

frouioui
Copy link
Member

Description

This is a backport of #12668

* [planner bugfix] add expressions to HAVING

When a predicate contains aggregation, it should not
be added to the WHERE clause. It should go to the

Signed-off-by: Andres Taylor <andres@planetscale.com>

* update test expecteations

Signed-off-by: Andres Taylor <andres@planetscale.com>

---------

Signed-off-by: Andres Taylor <andres@planetscale.com>
@frouioui frouioui added Backport This is a backport and removed Backport This is a backport labels Mar 23, 2023
@frouioui frouioui merged commit 75b02ea into vitessio:release-16.0 Mar 23, 2023
@frouioui frouioui deleted the bp-12668-on-16 branch March 23, 2023 19:51
@systay systay changed the title [planner bugfix] add expressions to HAVING (#12668) [planner bugfix 16] add expressions to HAVING (#12668) Mar 30, 2023
@hmaurer hmaurer mentioned this pull request Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants