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

release-19.2: sql: improve "couldn't find With expression" error #46971

Merged
merged 1 commit into from
Apr 3, 2020

Conversation

yuzefovich
Copy link
Member

Backport 1/1 commits from #45227.

/cc @cockroachdb/release


There is a known issue where apply joins cannot reference top-level WITH
expressions. I improved the error messaging in this case by changing it
from a panic to an error and adding a hint about what's going on.

Fixes #42373
Fixes: #46961.

Release note: None

There is a known issue where apply joins cannot reference top-level WITH
expressions. I improved the error messaging in this case by changing it
from a panic to an error and adding a hint about what's going on.

Fixes cockroachdb#42373

Release note (sql change): improve error message for unsupported
interaction between correlated subqueries and WITH clauses
@yuzefovich yuzefovich requested a review from a team as a code owner April 3, 2020 15:12
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rohany
Copy link
Contributor

rohany commented Apr 3, 2020

LGTM

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.

None yet

4 participants