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

Handle removing multiple logical table CTE for verified queries #195

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

sfc-gh-cnivera
Copy link
Collaborator

@sfc-gh-cnivera sfc-gh-cnivera commented Oct 23, 2024

Our existing logic only removed the first CTE if there were multiple present. It's possible for Analyst to generate a query with multiple logical table CTEs - this PR modifies our logic to handle this. Also added tests.

Most of the diff is adding tests.

@sfc-gh-cnivera sfc-gh-cnivera marked this pull request as ready for review October 23, 2024 23:23
@sfc-gh-cnivera sfc-gh-cnivera merged commit 3f2a92c into main Oct 30, 2024
2 checks passed
@sfc-gh-cnivera sfc-gh-cnivera deleted the cnivera/remove-multiple-cte branch October 30, 2024 21:04
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