byte-sourcerer commented on code in PR #1633:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/1633#discussion_r1907194351
##########
src/parser/mod.rs:
##########
@@ -8857,6 +8857,23 @@ impl<'a> Parser<'a> {
}
}
+ pub fn parse_table_object(
+ &mut self,
+ in_table_clause: bool,
Review Comment:
Removed.
##########
src/parser/mod.rs:
##########
@@ -8857,6 +8857,23 @@ impl<'a> Parser<'a> {
}
}
+ pub fn parse_table_object(
Review Comment:
Added.
##########
src/parser/mod.rs:
##########
@@ -8857,6 +8857,23 @@ impl<'a> Parser<'a> {
}
}
+ pub fn parse_table_object(
+ &mut self,
+ in_table_clause: bool,
+ ) -> Result<TableObject, ParserError> {
+ if dialect_of!(self is ClickHouseDialect) &&
self.parse_keyword(Keyword::FUNCTION) {
Review Comment:
Refactored.
--
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]