Skip to content

Files with CTEs throw errors #262

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

Closed
juleswritescode opened this issue Mar 29, 2025 · 1 comment
Closed

Files with CTEs throw errors #262

juleswritescode opened this issue Mar 29, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@juleswritescode
Copy link
Collaborator

Describe the bug

Files containing CTEs seem to cause panics.

A HN user reported this:

processing panicked: cannot start statement within statement at Some(Token { kind: With, text: "with", span: 0..4, token_type: ReservedKeyword })

the query was with test as (select 1 as id) select * from test;.

@juleswritescode juleswritescode added the bug Something isn't working label Mar 29, 2025
@juleswritescode juleswritescode self-assigned this Mar 29, 2025
@kiwicopple
Copy link
Contributor

Fixed?

#263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants