-
Notifications
You must be signed in to change notification settings - Fork 606
SELECT query with LIMIT clause but no WHERE clause fails to parse. #67
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
Comments
It looks like limit keyword is interpreted as table alias since this invalid query parses. SELECT id, fname, lname FROM customer LIMIT LIMIT 5 However, adding LIMIT to the reserved for table alias did NOT fix the issue. |
No wait, It was actually the adding the LIMIT clause that fixed it, but had a typo in the test. |
Will this fix be released soon? |
Hi @dvaldivia, I'm afraid I don't have a concrete answer for you, but there is a general sense that it's time for a new release soon (some details). I'll launch a new issue so we have somewhere to centralize this discussion. |
Ok, I've filed https://github.com/andygrove/sqlparser-rs/issues/117 to continue the discussion. |
This passes
But this one fails:
The text was updated successfully, but these errors were encountered: