From e209025069a194464c245c8f9572cfc2f228c09f Mon Sep 17 00:00:00 2001 From: Dodothereal <129273127+Dodothereal@users.noreply.github.com> Date: Tue, 23 Jun 2026 20:48:48 +0200 Subject: [PATCH] chore(expr-common): remove deprecated `Signature::get_possible_types` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `Signature::get_possible_types` was deprecated in DataFusion 46.0.0 with the suggestion to use `get_example_types` instead. Per the API health deprecation guidelines, APIs deprecated in 46.0.0 are eligible for removal now that datafusion is on 55.x. The in-tree test `test_get_possible_types` already calls `get_example_types` directly, so no test changes are needed. Repo-wide grep confirms there are no other callers — the function was a one-line adapter to `get_example_types`. Pure 5-line deletion. Closes #23080 (partial — fifth in the housekeeping series after #23129, #23131, #23132, #23134). --- datafusion/expr-common/src/signature.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/datafusion/expr-common/src/signature.rs b/datafusion/expr-common/src/signature.rs index 3e941f00c2ee3..35a679cc447cf 100644 --- a/datafusion/expr-common/src/signature.rs +++ b/datafusion/expr-common/src/signature.rs @@ -880,11 +880,6 @@ impl TypeSignature { } } - #[deprecated(since = "46.0.0", note = "See get_example_types instead")] - pub fn get_possible_types(&self) -> Vec> { - self.get_example_types() - } - /// Return example acceptable types for this `TypeSignature`' /// /// Returns a `Vec` for each argument to the function