From c7e6b179274e6978152dfee0b4da4ce15e60f64d Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Thu, 22 Aug 2024 06:19:35 -0400 Subject: [PATCH] Fix compialtion on main --- datafusion/expr/src/logical_plan/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/expr/src/logical_plan/builder.rs b/datafusion/expr/src/logical_plan/builder.rs index ce88f94034aa..559908bcfdfa 100644 --- a/datafusion/expr/src/logical_plan/builder.rs +++ b/datafusion/expr/src/logical_plan/builder.rs @@ -399,7 +399,7 @@ impl LogicalPlanBuilder { /// Apply a filter which is used for a having clause pub fn having(self, expr: impl Into) -> Result { let expr = normalize_col(expr.into(), &self.plan)?; - Filter::try_new_with_having(expr, Arc::new(self.plan)) + Filter::try_new_with_having(expr, self.plan) .map(LogicalPlan::Filter) .map(Self::from) }