iffyio commented on code in PR #1616:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/1616#discussion_r1900459492
##########
src/parser/mod.rs:
##########
@@ -1044,6 +1046,24 @@ impl<'a> Parser<'a> {
Ok(Statement::NOTIFY { channel, payload })
}
+ /// Parses a `RENAME TABLE` statement. See [Statement::RenameTable]
+ /// see <https://dev.mysql.com/doc/refman/9.1/en/rename-table.html>
Review Comment:
```suggestion
```
##########
src/parser/mod.rs:
##########
@@ -547,6 +547,8 @@ impl<'a> Parser<'a> {
// `PRAGMA` is sqlite specific
https://www.sqlite.org/pragma.html
Keyword::PRAGMA => self.parse_pragma(),
Keyword::UNLOAD => self.parse_unload(),
+ // `RENAME TABLE` is mysql specific
https://dev.mysql.com/doc/refman/9.1/en/rename-table.html
Review Comment:
```suggestion
```
--
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]