mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 06:18:17 +00:00
Add support for MySQL's STRAIGHT_JOIN join operator. (#1802)
Co-authored-by: Roman Borschel <roman@cluvio.com>
This commit is contained in:
parent
cfd8951452
commit
67c3be075e
5 changed files with 20 additions and 0 deletions
|
@ -3587,3 +3587,10 @@ fn test_variable_assignment_using_colon_equal() {
|
|||
_ => panic!("Unexpected statement {stmt}"),
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parse_straight_join() {
|
||||
mysql().verified_stmt(
|
||||
"SELECT a.*, b.* FROM table_a AS a STRAIGHT_JOIN table_b AS b ON a.b_id = b.id",
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue