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

fix(compiler): Check delete statements for CTEs #1329

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

wabain
Copy link
Contributor

@wabain wabain commented Dec 4, 2021

At the point where the compiler processes CTEs it was missing a case for delete statements. This was causing sqlc generate for delete statements using CTEs to fail with the error relation "<cte_name>" does not exist.

@kyleconroy kyleconroy merged commit b68c669 into sqlc-dev:main Dec 9, 2021
@kyleconroy
Copy link
Collaborator

Thanks!

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.

2 participants