jstnd opened a new pull request, #2292:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2292
Currently, parsing the syntax `SHOW FULL PROCESSLIST` with the MySQL dialect
results in an error even though it's valid as seen in the documentation. This
PR adds support for this syntax to the parser.
This is my first time contributing here, so please let me know if anything
needs to be changed.
```rust
let ast = Parser::parse_sql(&MySqlDialect {}, "SHOW FULL PROCESSLIST");
println!("{:?}", ast); // Err(ParserError("EXTENDED/FULL are not supported
with this type of SHOW query"))
```
https://dev.mysql.com/doc/refman/8.4/en/show-processlist.html
--
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]