From ca898b0f7154fc05856a1243bb9a80f99e4b1202 Mon Sep 17 00:00:00 2001 From: Micah Wylde Date: Thu, 9 May 2024 14:38:16 -0700 Subject: [PATCH] Provide default implementation of reset --- datafusion/physical-plan/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/datafusion/physical-plan/src/lib.rs b/datafusion/physical-plan/src/lib.rs index 6a45a9f42874..47726f9432ef 100644 --- a/datafusion/physical-plan/src/lib.rs +++ b/datafusion/physical-plan/src/lib.rs @@ -412,7 +412,9 @@ pub trait ExecutionPlan: Debug + DisplayAs + Send + Sync { Ok(Statistics::new_unknown(&self.schema())) } - fn reset(&self) -> Result<()>; + fn reset(&self) -> Result<()> { + Ok(()) + } } /// Extension trait provides an easy API to fetch various properties of