We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a45a5a0 commit 552714aCopy full SHA for 552714a
src/parser/mod.rs
@@ -11362,7 +11362,11 @@ impl<'a> Parser<'a> {
11362
| Keyword::CROSS => {
11363
self.prev_token();
11364
let mut joins = self.parse_joins()?;
11365
- // Take first
+ if joins.len() != 1 {
11366
+ return Err(ParserError::ParserError(
11367
+ "Join pipe operator must have a single join".to_string(),
11368
+ ));
11369
+ }
11370
let join = joins.swap_remove(0);
11371
pipe_operators.push(PipeOperator::Join(join))
11372
}
0 commit comments