File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -2683,7 +2683,7 @@ pub enum PipeOperator {
2683
2683
/// Selects a random sample of rows from the input table.
2684
2684
/// Syntax: `|> TABLESAMPLE SYSTEM (10 PERCENT)
2685
2685
/// See more at <https://cloud.google.com/bigquery/docs/reference/standard-sql/pipe-syntax#tablesample_pipe_operator>
2686
- TableSample { sample : Box < TableSample > } ,
2686
+ TableSample { sample : Box < TableSample > } ,
2687
2687
}
2688
2688
2689
2689
impl fmt:: Display for PipeOperator {
Original file line number Diff line number Diff line change @@ -12758,11 +12758,14 @@ impl<'a> Parser<'a> {
12758
12758
} else {
12759
12759
return Ok(None);
12760
12760
};
12761
- self.parse_table_sample(modifier).map(|sample| Some(sample))
12761
+ self.parse_table_sample(modifier).map(|sample| Some(sample))
12762
12762
}
12763
12763
12764
- fn parse_table_sample(&mut self, modifier: TableSampleModifier ) -> Result<Box<TableSample>, ParserError> {
12765
- let name = match self.parse_one_of_keywords(&[
12764
+ fn parse_table_sample(
12765
+ &mut self,
12766
+ modifier: TableSampleModifier,
12767
+ ) -> Result<Box<TableSample>, ParserError> {
12768
+ let name = match self.parse_one_of_keywords(&[
12766
12769
Keyword::BERNOULLI,
12767
12770
Keyword::ROW,
12768
12771
Keyword::SYSTEM,
You can’t perform that action at this time.
0 commit comments