Skip to content

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