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 cte quoting issues #1560

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

aguynamedryan
Copy link

Fixes #1559

Here are my proposed fixes for the CTE issues I listed in #1559

This PR includes the work I did for #1558 because I couldn't get CTEs working without those changes.

While I was working on fixing the quoting issues, I noticed that there was a TODO to use querylist_reuse_query for flatten_query.union_query and flatten_query.multi_join_query and I believe I have that part working as well.

Not only does the included test pass, but the far more complicated, real-life use case from which I derived the test also works now.

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.

Issues with quoted identifiers and CTEs
1 participant