Skip to content

Apache DataFusion SQL Query Engine

chore(expr): remove deprecated Filter::try_new_with_having (Closes #23080 - partial) (#23150)

Giorgio Maria Federico Birnthaler3920f33f0b15
diff --git a/datafusion/expr/src/logical_plan/plan.rs b/datafusion/expr/src/logical_plan/plan.rs
index 9ca6941a61..e3c151486f 100644
--- a/datafusion/expr/src/logical_plan/plan.rs
+++ b/datafusion/expr/src/logical_plan/plan.rs
@@ -2655,13 +2655,6 @@ impl Filter {
Self::try_new_internal(predicate, input)
}
- /// Create a new filter operator for a having clause.
- /// This is similar to a filter, but its having flag is set to true.
- #[deprecated(since = "48.0.0", note = "Use `try_new` instead")]
- pub fn try_new_with_having(predicate: Expr, input: Arc<LogicalPlan>) -> Result<Self> {
- Self::try_new_internal(predicate, input)
- }
-
fn is_allowed_filter_type(data_type: &DataType) -> bool {
match data_type {
// Interpret NULL as a missing boolean value.