mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-12-23 11:12:51 +00:00
Support ANTI and SEMI joins without LEFT/RIGHT (#1528)
This commit is contained in:
parent
4a5f20e911
commit
a67a4f3cbe
4 changed files with 46 additions and 0 deletions
|
|
@ -10025,6 +10025,16 @@ impl<'a> Parser<'a> {
|
|||
}
|
||||
}
|
||||
}
|
||||
Keyword::ANTI => {
|
||||
let _ = self.next_token(); // consume ANTI
|
||||
self.expect_keyword(Keyword::JOIN)?;
|
||||
JoinOperator::Anti
|
||||
}
|
||||
Keyword::SEMI => {
|
||||
let _ = self.next_token(); // consume SEMI
|
||||
self.expect_keyword(Keyword::JOIN)?;
|
||||
JoinOperator::Semi
|
||||
}
|
||||
Keyword::FULL => {
|
||||
let _ = self.next_token(); // consume FULL
|
||||
let _ = self.parse_keyword(Keyword::OUTER); // [ OUTER ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue