We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a from-clause where I rename relations as "e1, e2, ..." - this seems problematic, e.g., "e2" is recognized as a float:
list( sqlparse.parse("select * from Eats e1, Eats e2")[0] )[6].value 'Eats' list( sqlparse.parse("select * from Eats e1, Eats e2")[0] )[8].value 'e1, Eats'
list( sqlparse.parse("select * from Eats e1, Eats e2")[0] )[10].value 'e2' list( sqlparse.parse("select * from Eats e1, Eats e2")[0] )[10].ttype Token.Literal.Number.Float
Using different identifiers, such as "a" or "b" works:
list( sqlparse.parse("select * from Eats a, Eats b")[0] )[6].value 'Eats a, Eats b'
type( list( sqlparse.parse("select * from Eats a, Eats b")[0] )[6] ) <class 'sqlparse.sql.IdentifierList'>
The text was updated successfully, but these errors were encountered:
Can confirm this is still valid, is this related to exponentials, or it's a bug? @andialbrecht, any thoughts?
Sorry, something went wrong.
e660467
Yes, it's a bug. And it's fixed now. Thanks for reporting and bringing this up again!
No branches or pull requests
I have a from-clause where I rename relations as "e1, e2, ..." - this seems problematic,
e.g., "e2" is recognized as a float:
Using different identifiers, such as "a" or "b" works:
The text was updated successfully, but these errors were encountered: