Skip to content

Commit

Permalink
chore:test
Browse files Browse the repository at this point in the history
  • Loading branch information
Weijun-H authored and philippemnoel committed Sep 28, 2024
1 parent ee5318c commit 7bf18ca
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/scan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,15 @@ async fn test_view_foreign_table(#[future(awt)] s3: S3, mut conn: PgConnection)

assert_eq!(res.0, 100);

let test: Vec<(String,)> = r#"
SELECT column_name
FROM information_schema.columns
WHERE table_name = 'trips';
"#
.fetch(&mut conn);

panic!("{:?}", test);

// cannot fully pushdown to DuckDB
r#"
CREATE TABLE rate_code (
Expand Down Expand Up @@ -614,7 +623,7 @@ async fn test_view_foreign_table(#[future(awt)] s3: S3, mut conn: PgConnection)
if let Err(e) = warning_res {
assert_eq!(
e.to_string(),
"WARNING: publicrate_code does not exist in DuckDB".to_string()
"WARNING: public.rate_code does not exist in DuckDB".to_string()
);
} else {
panic!("Expecting an warning but got success");
Expand Down

0 comments on commit 7bf18ca

Please sign in to comment.