aharpervc commented on code in PR #1809:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/1809#discussion_r2364501422
##########
src/parser/mod.rs:
##########
@@ -484,8 +488,9 @@ impl<'a> Parser<'a> {
}
let statement = self.parse_statement()?;
+ // Treat batch delimiter as an end of statement, so no additional
statement delimiter expected here
Review Comment:
Done 👍
##########
src/parser/mod.rs:
##########
@@ -475,6 +475,10 @@ impl<'a> Parser<'a> {
if expecting_statement_delimiter && word.keyword ==
Keyword::END {
break;
}
+
+ if expecting_statement_delimiter && word.keyword ==
Keyword::GO {
Review Comment:
Done 👍
--
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]