Skip to content

chore(physical-plan): remove deprecated RowIndex struct (Closes #23080 - partial)#23143

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

chore(physical-plan): remove deprecated RowIndex struct (Closes #23080 - partial)#23143
Dodothereal wants to merge 1 commit into
apache:mainfrom
Dodothereal:chore/remove-deprecated-rowindex

Conversation

@Dodothereal

Copy link
Copy Markdown
Contributor

Fixes #23080

Summary

Removes the deprecated RowIndex struct from datafusion-physical-plan. The whole datafusion/physical-plan/src/sorts/index.rs file (61 lines, just the doc-block + struct) is deleted because it was never declared in sorts/mod.rs and never re-exported via pub use — it was a dead file already. A grep across the workspace confirms zero remaining callers even of the doc comment's identifier, and zero public re-exports. The 6-major-version grace period cited by the API-health policy is past due (deprecated in 46.0.0, we are now on 55.x).

Test plan

  • git grep -nE '\bRowIndex\b' returns no matches in source or docs (false-positives filtered: FileRowIndexFunc is a separate, undeprecated symbol).
  • sorts/mod.rs does not declare mod index;, so removing the on-disk file is sufficient — no mod cleanup needed.
  • The datafusion-physical-plan crate still builds cleanly across all other sort modules.

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 129273127+Dodothereal@users.noreply.github.com

…e#23080 - partial)

The RowIndex struct has been deprecated since 46.0.0 and was never wired
into the public mod tree (sorts/index.rs was a dead file in the sources
tree — declared nowhere as `mod index`, only its comments mention the
type). A grep across the workspace confirms zero remaining callers and
zero public re-exports. With DataFusion now on 55.x, the 6-major-version
grace period cited by the API-health policy is past due.

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.

Generated-by: Anthropic Claude
Signed-off-by: Dodothereal <129273127+Dodothereal@users.noreply.github.com>
@github-actions github-actions Bot added the physical-plan Changes to the physical-plan crate label Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove old deprecated code

1 participant