Skip to content

Commit 9d28b6a

Browse files
authored
Update sqlparser_common.rs
1 parent 6aab6ec commit 9d28b6a

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tests/sqlparser_common.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,7 @@ fn parse_update_set_from() {
512512
format_clause: None,
513513
pipe_operators: vec![],
514514
}),
515-
alias: table_alias(true, "t2"),
516-
sample: None,
515+
alias: table_alias(true, "t2")
517516
},
518517
joins: vec![]
519518
}])),
@@ -7793,7 +7792,6 @@ fn parse_derived_tables() {
77937792
lateral: false,
77947793
subquery: Box::new(verified_query("(SELECT 1) UNION (SELECT 2)")),
77957794
alias: table_alias(true, "t1"),
7796-
sample: None,
77977795
},
77987796
joins: vec![Join {
77997797
relation: table_from_name(ObjectName::from(vec!["t2".into()])),
@@ -8802,7 +8800,6 @@ fn lateral_derived() {
88028800
lateral,
88038801
ref subquery,
88048802
alias: Some(ref alias),
8805-
sample: _,
88068803
} = join.relation
88078804
{
88088805
assert_eq!(lateral_in, lateral);
@@ -9881,7 +9878,6 @@ fn parse_merge() {
98819878
pipe_operators: vec![],
98829879
}),
98839880
alias: table_alias(true, "stg"),
9884-
sample: None,
98859881
}
98869882
);
98879883
assert_eq!(source, source_no_into);

0 commit comments

Comments
 (0)