File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10810,16 +10810,6 @@ impl<'a> Parser<'a> {
1081010810 }
1081110811 }
1081210812
10813- pub fn parse_parenthesized_columns_with_alias_list(
10814- &mut self,
10815- optional: IsOptional,
10816- allow_empty: bool,
10817- ) -> Result<Vec<ExprWithAlias>, ParserError> {
10818- self.parse_parenthesized_column_list_inner(optional, allow_empty, |p| {
10819- p.parse_expr_with_alias()
10820- })
10821- }
10822-
1082310813 /// Parses a parenthesized comma-separated list of unqualified, possibly quoted identifiers.
1082410814 /// For example: `(col1, "col 2", ...)`
1082510815 pub fn parse_parenthesized_column_list(
@@ -13896,7 +13886,9 @@ impl<'a> Parser<'a> {
1389613886 self.expect_keyword_is(Keyword::FOR)?;
1389713887 let name = self.parse_identifier()?;
1389813888 self.expect_keyword_is(Keyword::IN)?;
13899- let columns = self.parse_parenthesized_columns_with_alias_list(Mandatory, false)?;
13889+ let columns = self.parse_parenthesized_column_list_inner(Mandatory, false, |p| {
13890+ p.parse_expr_with_alias()
13891+ })?;
1390013892 self.expect_token(&Token::RParen)?;
1390113893 let alias = self.maybe_parse_table_alias()?;
1390213894 Ok(TableFactor::Unpivot {
You can’t perform that action at this time.
0 commit comments