iffyio commented on code in PR #2375:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/2375#discussion_r3662890023


##########
src/parser/mod.rs:
##########
@@ -16575,6 +16581,10 @@ impl<'a> Parser<'a> {
                 with_offset_alias,
                 with_ordinality,
             })
+        } else if self.dialect.supports_unpivot_expr_in_from()
+            && self.parse_keyword(Keyword::UNPIVOT)

Review Comment:
   I meant essentially that the condition becomes ` else if 
self.dialect.supports_unpivot_expr_in_from() && 
self.peek_keyword(Keyword::UNPIVOT) { parse_unpivot_expr_table_factor() }` - 
then `parse_unpivot_expr_table_factor` is updated to expect the UNPIVOT keyword



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