We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
assert_optimized_plan_eq_display_indent
1 parent bc6e6b7 commit f8cf508Copy full SHA for f8cf508
datafusion/optimizer/src/test/mod.rs
@@ -213,19 +213,6 @@ pub fn assert_optimized_plan_with_rules(
213
Ok(())
214
}
215
216
-pub fn assert_optimized_plan_eq_display_indent(
217
- rule: Arc<dyn OptimizerRule + Send + Sync>,
218
- plan: LogicalPlan,
219
- expected: &str,
220
-) {
221
- let optimizer = Optimizer::with_rules(vec![rule]);
222
- let optimized_plan = optimizer
223
- .optimize(plan, &OptimizerContext::new(), observe)
224
- .expect("failed to optimize plan");
225
- let formatted_plan = optimized_plan.display_indent_schema().to_string();
226
- assert_eq!(formatted_plan, expected);
227
-}
228
-
229
#[macro_export]
230
macro_rules! assert_optimized_plan_eq_display_indent_snapshot {
231
(
0 commit comments