()
| 2304 | |
| 2305 | #[test] |
| 2306 | fn plan_builder_simple() -> Result<()> { |
| 2307 | let plan = |
| 2308 | table_scan(Some("employee_csv"), &employee_schema(), Some(vec![0, 3]))? |
| 2309 | .filter(col("state").eq(lit("CO")))? |
| 2310 | .project(vec![col("id")])? |
| 2311 | .build()?; |
| 2312 | |
| 2313 | assert_snapshot!(plan, @r#" |
| 2314 | Projection: employee_csv.id |
| 2315 | Filter: employee_csv.state = Utf8("CO") |
| 2316 | TableScan: employee_csv projection=[id, state] |
| 2317 | "#); |
| 2318 | |
| 2319 | Ok(()) |
| 2320 | } |
| 2321 | |
| 2322 | #[test] |
| 2323 | fn plan_builder_schema() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…