mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-30 10:47:22 +00:00
Support mssql json and xml extensions (#1043)
This commit is contained in:
parent
ff8312bfd8
commit
953c833a4a
9 changed files with 318 additions and 15 deletions
|
@ -270,6 +270,7 @@ fn parse_update_set_from() {
|
|||
offset: None,
|
||||
fetch: None,
|
||||
locks: vec![],
|
||||
for_clause: None,
|
||||
}),
|
||||
alias: Some(TableAlias {
|
||||
name: Ident::new("t2"),
|
||||
|
@ -2756,6 +2757,7 @@ fn parse_create_table_as_table() {
|
|||
offset: None,
|
||||
fetch: None,
|
||||
locks: vec![],
|
||||
for_clause: None,
|
||||
});
|
||||
|
||||
match verified_stmt(sql1) {
|
||||
|
@ -2780,6 +2782,7 @@ fn parse_create_table_as_table() {
|
|||
offset: None,
|
||||
fetch: None,
|
||||
locks: vec![],
|
||||
for_clause: None,
|
||||
});
|
||||
|
||||
match verified_stmt(sql2) {
|
||||
|
@ -4082,6 +4085,7 @@ fn parse_interval_and_or_xor() {
|
|||
offset: None,
|
||||
fetch: None,
|
||||
locks: vec![],
|
||||
for_clause: None,
|
||||
}))];
|
||||
|
||||
assert_eq!(actual_ast, expected_ast);
|
||||
|
@ -6656,6 +6660,7 @@ fn parse_merge() {
|
|||
offset: None,
|
||||
fetch: None,
|
||||
locks: vec![],
|
||||
for_clause: None,
|
||||
}),
|
||||
alias: Some(TableAlias {
|
||||
name: Ident {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue