()
| 573 | |
| 574 | #[test] |
| 575 | fn skip_generate_different_schema() { |
| 576 | let opt = Optimizer::with_rules(vec![Arc::new(GetTableScanRule {})]); |
| 577 | let config = OptimizerContext::new().with_skip_failing_rules(true); |
| 578 | let plan = LogicalPlan::EmptyRelation(EmptyRelation { |
| 579 | produce_one_row: false, |
| 580 | schema: Arc::new(DFSchema::empty()), |
| 581 | }); |
| 582 | opt.optimize(plan, &config, &observe).unwrap(); |
| 583 | } |
| 584 | |
| 585 | #[test] |
| 586 | fn generate_same_schema_different_metadata() -> Result<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…