Skip to content

chore(expr-common): remove deprecated Signature get_possible_types (Closes #23080 - partial)#23135

Open
Dodothereal wants to merge 1 commit into
apache:mainfrom
Dodothereal:chore/remove-deprecated-get-possible-types
Open

chore(expr-common): remove deprecated Signature get_possible_types (Closes #23080 - partial)#23135
Dodothereal wants to merge 1 commit into
apache:mainfrom
Dodothereal:chore/remove-deprecated-get-possible-types

Conversation

@Dodothereal

Copy link
Copy Markdown
Contributor

Removes Signature::get_possible_types (deprecated since 46.0.0 with replacement get_example_types). Pure 5-line deletion; the in-tree unit test already calls get_example_types directly, so no test updates needed. Closes #23080 (partial - fifth in housekeeping series after #23129, #23131, #23132, #23134). AI assistance: used an AI coding assistant; verified via repo-wide grep that the function is unused outside tests.

`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 apache#23080 (partial — fifth in the housekeeping series after apache#23129, apache#23131, apache#23132, apache#23134).
@github-actions github-actions Bot added the logical-expr Logical plan and expressions label Jun 23, 2026
@Dodothereal

Copy link
Copy Markdown
Contributor Author

Re-pinging: this PR removes Signature::get_possible_types (part of the #23080 deprecation sweep). 5-line removal in expr-common; checks already passed on the parts-3 PR (#23132). Happy to re-push or rebase if anything's needed.

@Dodothereal

Copy link
Copy Markdown
Contributor Author

@alamb (and any other reviewer) — gentle ping: this is the 5th and last non-experimental removal in the #23080 sweep; the first three (#23129, #23131, #23132) landed today, #23134 was just opened for the 4th. Branch is up to date with upstream/main; cargo +nightly semver-checks is happy on the previous PRs. Happy to address any feedback.

@Dodothereal

Copy link
Copy Markdown
Contributor Author

Friendly nudge — same pattern as #23134 (5-line pure-removal, zero callers). Ready when a maintainer can approve CI / merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

logical-expr Logical plan and expressions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove old deprecated code

1 participant