You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case, sqlparser-rs interprets from as a column name, and my_table is recognized as the alias of the from column. Not sure whether we need to solve this problem in sqlparser-rs or in DataFusion. In some databases, from as a keyword cannot be used as a column name.
Error during parsing: ParserError("Expected an expression, found: from at Line: 11, Column 5")
However, it will be several weeks till it arrives to DF, since we'll have to wait for the new release of sqlparser, sqlparser version upgrade in DF, and then the new release of DF.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Putting a trailing comma after the last column/expression within a select statement produces a misleading error message.
To Reproduce
When running the following:
We got the following error message:
Expected behavior
Either:
Additional context
It took me a while to figure out the issue so I though that it might be helpful to improve on this.
The text was updated successfully, but these errors were encountered: