charmfocus opened a new issue, #1582:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1582

   ```rust
       let sql = "RENAME TABLE `test`.`test` TO `test`.`test2`";
   
       // parse to a Statement
       let dialect = GenericDialect {};
       let ast = Parser::parse_sql(&dialect, sql).unwrap();
   
       println!("AST: {:#?}", ast);
   ```
   
   output error:
   ```
   thread 'main' panicked at src/main.rs:10:48:
   called `Result::unwrap()` on an `Err` value: ParserError("Expected: an SQL 
statement, found: RENAME at Line: 1, Column: 1")
   ```


-- 
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]

Reply via email to