From ae0b93284ab2060418308f1bdfe6354488a86e95 Mon Sep 17 00:00:00 2001 From: Sean Smith Date: Sun, 16 Apr 2023 11:05:59 -0500 Subject: [PATCH] fix: Add missing arg to execute_and_check --- datafusion/optimizer/src/test/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/optimizer/src/test/mod.rs b/datafusion/optimizer/src/test/mod.rs index 899dc74c7976d..2fc92758f1a45 100644 --- a/datafusion/optimizer/src/test/mod.rs +++ b/datafusion/optimizer/src/test/mod.rs @@ -128,7 +128,7 @@ pub fn assert_analyzed_plan_eq_display_indent( ) -> Result<()> { let options = ConfigOptions::default(); let analyzed_plan = - Analyzer::with_rules(vec![rule]).execute_and_check(plan, &options)?; + Analyzer::with_rules(vec![rule]).execute_and_check(plan, &options, |_, _| {})?; let formatted_plan = format!("{}", analyzed_plan.display_indent_schema()); assert_eq!(formatted_plan, expected);