Add support for MySQL's STRAIGHT_JOIN join operator. (#1802)

Co-authored-by: Roman Borschel <roman@cluvio.com>
This commit is contained in:
Roman Borschel 2025-04-10 12:26:13 +02:00 committed by GitHub
parent cfd8951452
commit 67c3be075e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 20 additions and 0 deletions

View file

@ -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",
);
}