Skip to content

Apache DataFusion SQL Query Engine

chore(proto): deprecate `AsyncFuncExec::async_exprs`, which only existed for proto serialization (#24168)

Adrian Garcia Badaracco33f36886fdcf
diff --git a/datafusion/physical-plan/src/async_func.rs b/datafusion/physical-plan/src/async_func.rs
index 95604dd4cb..d89c2cc6bf 100644
--- a/datafusion/physical-plan/src/async_func.rs
+++ b/datafusion/physical-plan/src/async_func.rs
@@ -106,6 +106,10 @@ impl AsyncFuncExec {
))
}
+ #[deprecated(
+ since = "55.0.0",
+ note = "unused by DataFusion; `AsyncFuncExec` serializes itself via `AsyncFuncExec::try_to_proto`, which reads the field directly. There is no replacement; please open an issue if you have a use case for it."
+ )]
pub fn async_exprs(&self) -> &[Arc<AsyncFuncExpr>] {
&self.async_exprs
}