Open andialbrecht opened 12 years ago
Here is a simple SQL where I believe its grouping the tablename incorrectly with the columns and calling it a function.
sql = "Insert into foo (a,b,c) values (1, 'b', zz)"
the "foo (a,b,c) ends up being grouped and the token ttype for 'foo' is None rather than sqlparser.sql.Identifier
A variation on the above includes an alias for the table per the Oracle syntax charts: sql = "Insert into foo fooalias (a,b,c) values (1, 'b', zz)"
I this case the token object for foo is correctly an sqlparser.sql.Identifier type, but the ttype is still set to None so the Match function does not work as expected.
_This is a _shadow issue* for Issue 60 on Google Code (from which this project was moved). Added 2012-03-16T16:07:49.000Z by de...@pointerstop.ca. Labels: Type-Defect, Priority-Medium. Please make updates to the bug there.*
Original description