yoavcloud commented on code in PR #2292:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2292#discussion_r3056659178
##########
src/parser/mod.rs:
##########
@@ -15047,6 +15047,10 @@ impl<'a> Parser<'a> {
Ok(self.parse_show_views(terse, false)?)
} else if self.parse_keyword(Keyword::FUNCTIONS) {
Ok(self.parse_show_functions()?)
+ } else if self.parse_keyword(Keyword::PROCESSLIST)
+ && dialect_of!(self is MySqlDialect | GenericDialect)
Review Comment:
Is this gate necessary? We are OK with the parser being permissive and
having all dialects accept this statement.
--
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]