mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 06:18:17 +00:00
feat: support tailing commas on snowflake dialect. (#1205)
This commit is contained in:
parent
17ef71e42b
commit
6da8828c1b
2 changed files with 8 additions and 2 deletions
|
@ -1536,3 +1536,8 @@ fn parse_comma_outer_join() {
|
|||
"SELECT t1.c1, t2.c2 FROM t1, t2 WHERE t1.c1 = t2.c2 (+)",
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_sf_trailing_commas() {
|
||||
snowflake().verified_only_select_with_canonical("SELECT 1, 2, FROM t", "SELECT 1, 2 FROM t");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue