Skip to content

Commit ee95c42

Browse files
committed
fix the parse_merge test not to rely on all dialects supporting boolean litterals
1 parent effcf5c commit ee95c42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/sqlparser_common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8346,7 +8346,7 @@ fn parse_merge() {
83468346
_ => unreachable!(),
83478347
};
83488348

8349-
let sql = "MERGE INTO s.bar AS dest USING newArrivals AS S ON false WHEN NOT MATCHED THEN INSERT VALUES (stg.A, stg.B, stg.C)";
8349+
let sql = "MERGE INTO s.bar AS dest USING newArrivals AS S ON (1 > 1) WHEN NOT MATCHED THEN INSERT VALUES (stg.A, stg.B, stg.C)";
83508350
verified_stmt(sql);
83518351
}
83528352

0 commit comments

Comments
 (0)