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

[HZ-757] Support sub-queries and VALUES() execution in JOIN arguments #20042

Merged
merged 3 commits into from
Dec 10, 2021

Conversation

Fly-Style
Copy link
Contributor

@Fly-Style Fly-Style commented Dec 7, 2021

Checklist:

  • Labels (Team:, Type:, Source:, Module:) and Milestone set
  • Label Add to Release Notes or Not Release Notes content set
  • Request reviewers if possible

@Fly-Style Fly-Style added this to the 5.1 milestone Dec 7, 2021
@Fly-Style Fly-Style self-assigned this Dec 7, 2021
@Fly-Style Fly-Style changed the title Support sub-queries and VALUES() execution in JOIN arguments [HZ-757] Support sub-queries and VALUES() execution in JOIN arguments Dec 8, 2021
@swarmia
Copy link

swarmia bot commented Dec 8, 2021

))
.hasCauseInstanceOf(QueryException.class)
.hasMessageContaining("VALUES clause not supported on the right side of a (LEFT) JOIN or the left side of a RIGHT JOIN");
assertRowsAnyOrder("SELECT * FROM " + leftName + " l JOIN (VALUES (1, 1)) AS r ON true",
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor: it's better to use distinct values, not 1's everywhere. This way it can catch more issues.

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