We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbfea03 commit 5190fa3Copy full SHA for 5190fa3
2 files changed
src/ast/query.rs
@@ -471,6 +471,7 @@ pub enum JoinConstraint {
471
Where(Expr),
472
Using(Vec<Ident>),
473
Natural,
474
+ Empty,
475
}
476
477
/// An `ORDER BY` expression
src/parser.rs
@@ -2471,7 +2471,7 @@ impl<'a> Parser<'a> {
2471
let columns = self.parse_parenthesized_column_list(Mandatory)?;
2472
Ok(JoinConstraint::Using(columns))
2473
} else {
2474
- self.expected("ON, or USING after JOIN", self.peek_token())
+ Ok(JoinConstraint::Empty)
2475
2476
2477
0 commit comments