We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fade60 commit 9b2e8d0Copy full SHA for 9b2e8d0
1 file changed
src/parser/mod.rs
@@ -13838,7 +13838,7 @@ impl<'a> Parser<'a> {
13838
self.expect_token(&Token::LParen)?;
13839
let aggregate_functions = self.parse_comma_separated(Self::parse_aliased_function_call)?;
13840
self.expect_keyword_is(Keyword::FOR)?;
13841
- let value_column = if self.peek_token().token == Token::LParen {
+ let value_column = if self.peek_token_ref().token == Token::LParen {
13842
self.parse_parenthesized_compound_identifier_list(Mandatory, false)?
13843
} else {
13844
vec![Expr::CompoundIdentifier(self.parse_period_separated(|p| p.parse_identifier())?)]
0 commit comments