diff --git a/datafusion/expr/src/udf.rs b/datafusion/expr/src/udf.rs index 40e0da2678eb..f92a5356e458 100644 --- a/datafusion/expr/src/udf.rs +++ b/datafusion/expr/src/udf.rs @@ -198,8 +198,9 @@ impl ScalarUDF { self.inner.simplify(args, info) } - #[allow(deprecated)] + #[deprecated(since = "50.0.0", note = "Use `return_field_from_args` instead.")] pub fn is_nullable(&self, args: &[Expr], schema: &dyn ExprSchema) -> bool { + #[allow(deprecated)] self.inner.is_nullable(args, schema) }