Skip to content

Commit 5841c7f

Browse files
authored
chore(expr-common): remove deprecated Signature::get_possible_types (Closes apache#23080 - partial) (apache#23147)
Fixes apache#23080 ## Summary Removes `Signature::get_possible_types`, deprecated since 46.0.0 ("See get_example_types instead"). A grep across the workspace confirms zero remaining callers and zero public re-exports — the function is definition-only. (The lone in-tree test, `test_get_possible_types`, retained its name for stability but already exercises the new `get_example_types` path.) The 6-major-version grace period cited by the API-health policy is past due (we are now on 55.x). ## Test plan - `git grep -nE '\bget_possible_types\b'` returns no matches in source code (only the removed definition site). The 44.0.0 changelog entry is historical and is left intact. - `test_get_possible_types` continues to compile and pass since it never called the deprecated function. AI assistance: drafted with the help of an Anthropic coding assistant. Diff was reviewed line by line before submission, and the change was verified independently. Signed-off-by: Dodothereal <[email protected]> Signed-off-by: Dodothereal <[email protected]>
1 parent 81f452d commit 5841c7f

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎datafusion/expr-common/src/signature.rs‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -880,11 +880,6 @@ impl TypeSignature {
880880
}
881881
}
882882

883-
#[deprecated(since = "46.0.0", note = "See get_example_types instead")]
884-
pub fn get_possible_types(&self) -> Vec<Vec<DataType>> {
885-
self.get_example_types()
886-
}
887-
888883
/// Return example acceptable types for this `TypeSignature`'
889884
///
890885
/// Returns a `Vec<DataType>` for each argument to the function

0 commit comments

Comments
 (0)