Skip to content

Commit 9a1a92d

Browse files
authored
Fix compialtion on main (#12108)
1 parent beb3d5a commit 9a1a92d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion/expr/src/logical_plan/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ impl LogicalPlanBuilder {
399399
/// Apply a filter which is used for a having clause
400400
pub fn having(self, expr: impl Into<Expr>) -> Result<Self> {
401401
let expr = normalize_col(expr.into(), &self.plan)?;
402-
Filter::try_new_with_having(expr, Arc::new(self.plan))
402+
Filter::try_new_with_having(expr, self.plan)
403403
.map(LogicalPlan::Filter)
404404
.map(Self::from)
405405
}

0 commit comments

Comments
 (0)