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

gen4: Fix sub query planning when the outer query is a dual query #10009

Merged
merged 1 commit into from
Mar 31, 2022

Conversation

systay
Copy link
Collaborator

@systay systay commented Mar 30, 2022

Description

Fixes two different bugs -

  1. Queries with a dual subquery should not be replaced with literals when inside an EXISTS call
  2. When merging routes where one side is a reference route, we have to copy keyspace information as well

Related Issue(s)

Fixes #9900
Backport of #10007

Checklist

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

…tessio#10007)

* fix: do not rewrite dual queries inside EXISTS
* fix: when merging routes with reference routing, we should also copy the keyspace

Signed-off-by: Andres Taylor <[email protected]>
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.

2 participants