LucaCappelletti94 opened a new pull request, #2620: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2620
A BigQuery identifier without quotes that ends in a number, such as `foo-123`, had to be followed by whitespace or end of input. `SELECT * FROM foo-1, bar-2` therefore failed with `whitespace following hyphenated identifier`, even though the comma is clearly not part of the name. The parser now peeks at the next token instead of consuming it and only rejects a word or number butted directly onto the trailing number, the case that would glue into the identifier as in `foo-123a` and is still rejected. Any other token, such as a comma, parenthesis, or keyword, may now follow the numeric segment. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
