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

feat: allow more complex expressions to be used in outer queries #10034

Merged
merged 3 commits into from
Apr 21, 2022

Conversation

systay
Copy link
Collaborator

@systay systay commented Apr 4, 2022

Description

Complex expressions on top of outer joins were not allowed to pass through the planner. The runtime does not seem to have any issues with these queries, so the planner check was probably no longer valid. This PR adds a few tests and removes the limitation in the planner.

Checklist

  • Should this PR be backported? no!
  • Tests were added or are not required
  • Documentation was added or is not required

@systay systay added Type: Enhancement Logical improvement (somewhere between a bug and feature) Component: Query Serving release notes labels Apr 4, 2022
Copy link
Member

@frouioui frouioui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any objection to this change, but let's wait for @harshit-gangal's word

Copy link
Member

@harshit-gangal harshit-gangal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. just need one additional test where the expression belongs to both the tables of the join.

Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
@systay systay merged commit ee1131f into vitessio:main Apr 21, 2022
@systay systay deleted the support-more branch April 21, 2022 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Query Serving Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants