mjbshaw commented on code in PR #2273:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2273#discussion_r2906202880
##########
src/parser/mod.rs:
##########
@@ -697,6 +697,9 @@ impl<'a> Parser<'a> {
// `INSTALL` is duckdb specific
https://duckdb.org/docs/extensions/overview
Keyword::INSTALL if self.dialect.supports_install() =>
self.parse_install(),
Keyword::LOAD => self.parse_load(),
+ Keyword::LOCK if dialect_of!(self is PostgreSqlDialect |
GenericDialect) => {
+ self.parse_lock_table_statement()
Review Comment:
Done: refactored to follow `CASE`'s example.
--
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]