jstnd commented on code in PR #2292:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2292#discussion_r3061141814
##########
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:
I wasn't sure if we were fine with it being permissive so I added the gate
matching some other branches here just in case. I made the changes to remove
the dialect gate.
--
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]