Skip to content

Commit

Permalink
rebase and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ayman-sigma committed Nov 26, 2024
1 parent 764be7a commit 6d820b8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/sqlparser_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11930,7 +11930,7 @@ fn parse_load_data() {
assert_eq!("/local/path/to/data.txt", inpath);
assert_eq!(false, overwrite);
assert_eq!(
ObjectName(vec![Ident::new("test"), Ident::new("my_table")]),
ObjectName::from(vec![Ident::new("test"), Ident::new("my_table")]),
table_name
);
assert_eq!(None, partitioned);
Expand All @@ -11953,7 +11953,7 @@ fn parse_load_data() {
assert_eq!(false, local);
assert_eq!("/local/path/to/data.txt", inpath);
assert_eq!(true, overwrite);
assert_eq!(ObjectName(vec![Ident::new("my_table")]), table_name);
assert_eq!(ObjectName::from(vec![Ident::new("my_table")]), table_name);
assert_eq!(None, partitioned);
assert_eq!(None, table_format);
}
Expand Down Expand Up @@ -11990,7 +11990,7 @@ fn parse_load_data() {
assert_eq!("/local/path/to/data.txt", inpath);
assert_eq!(false, overwrite);
assert_eq!(
ObjectName(vec![Ident::new("test"), Ident::new("my_table")]),
ObjectName::from(vec![Ident::new("test"), Ident::new("my_table")]),
table_name
);
assert_eq!(None, partitioned);
Expand Down Expand Up @@ -12028,7 +12028,7 @@ fn parse_load_data() {
assert_eq!(true, local);
assert_eq!("/local/path/to/data.txt", inpath);
assert_eq!(false, overwrite);
assert_eq!(ObjectName(vec![Ident::new("my_table")]), table_name);
assert_eq!(ObjectName::from(vec![Ident::new("my_table")]), table_name);
assert_eq!(
Some(vec![
Expr::BinaryOp {
Expand Down Expand Up @@ -12064,7 +12064,7 @@ fn parse_load_data() {
assert_eq!("/local/path/to/data.txt", inpath);
assert_eq!(true, overwrite);
assert_eq!(
ObjectName(vec![Ident::new("good"), Ident::new("my_table")]),
ObjectName::from(vec![Ident::new("good"), Ident::new("my_table")]),
table_name
);
assert_eq!(
Expand Down

0 comments on commit 6d820b8

Please sign in to comment.