yoavcloud commented on code in PR #1483:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/1483#discussion_r1820133974


##########
src/dialect/postgresql.rs:
##########
@@ -230,15 +230,18 @@ pub fn parse_comment(parser: &mut Parser) -> 
Result<Statement, ParserError> {
 }
 
 pub fn parse_create(parser: &mut Parser) -> Option<Result<Statement, 
ParserError>> {
-    let name = parser.maybe_parse(|parser| -> Result<ObjectName, ParserError> {
+    if let Ok(name) = parser.maybe_parse(|parser| -> Result<ObjectName, 
ParserError> {

Review Comment:
   True, updated in the next commit



-- 
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]

Reply via email to