alamb commented on code in PR #15680:
URL: https://github.com/apache/datafusion/pull/15680#discussion_r2045643084


##########
datafusion/sql/src/parser.rs:
##########
@@ -561,17 +577,13 @@ impl<'a> DFParser<'a> {
                 if token == Token::EOF || token == Token::SemiColon {
                     break;
                 } else {
-                    return Err(ParserError::ParserError(format!(
-                        "Unexpected token {token}"
-                    )));
+                    return parser_err!(format!("Unexpected token {token}"))?;

Review Comment:
   No rush -- I think we are going to hold of merging any more code changes 
until we make a 47.0.0 release branch / candidate. 



-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to