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

regression parsing table aliases in 0.31.0 #826

Closed
alamb opened this issue Mar 6, 2023 · 0 comments · Fixed by #827
Closed

regression parsing table aliases in 0.31.0 #826

alamb opened this issue Mar 6, 2023 · 0 comments · Fixed by #827
Assignees
Labels
bug Something isn't working

Comments

@alamb
Copy link
Contributor

alamb commented Mar 6, 2023

sqlparser-rs 0.30.0 can parse this query

SELECT a, b, c FROM lineitem AS l (A, B, C)

However, in 0.31.0 it fails like:

ParserError("Expected identifier, found: ,")

There sadly seems to have been no regression test coverage.

I suspect it was introduced as part of c35dcc9 / #769 from @mskrzypkows

I have a local test and am working on fixing it.

This was found by one of datafusion's regression tests while we were upgrading: apache/datafusion#5457

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
1 participant