File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14793,7 +14793,6 @@ impl<'a> Parser<'a> {
1479314793 pipe_operators: vec![],
1479414794 }),
1479514795 alias,
14796- sample: None,
1479714796 })
1479814797 } else if dialect_of!(self is BigQueryDialect | PostgreSqlDialect | GenericDialect)
1479914798 && self.parse_keyword(Keyword::UNNEST)
@@ -15595,21 +15594,13 @@ impl<'a> Parser<'a> {
1559515594 self.expect_token(&Token::RParen)?;
1559615595 let alias = self.maybe_parse_table_alias()?;
1559715596
15598- // Parse optional SAMPLE clause after alias
15599- let sample = if let Some(parsed_sample) = self.maybe_parse_table_sample()? {
15600- Some(TableSampleKind::AfterTableAlias(parsed_sample))
15601- } else {
15602- None
15603- };
15604-
1560515597 Ok(TableFactor::Derived {
1560615598 lateral: match lateral {
1560715599 Lateral => true,
1560815600 NotLateral => false,
1560915601 },
1561015602 subquery,
1561115603 alias,
15612- sample,
1561315604 })
1561415605 }
1561515606
You can’t perform that action at this time.
0 commit comments