Skip to content

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

Merged
alamb merged 1 commit into
apache:mainfrom
Dodothereal:chore/remove-deprecated-rowindex
Jun 24, 2026
Merged

alamb merged 1 commit into
apache:mainfrom
Dodothereal:chore/remove-deprecated-rowindex

Conversation

@Dodothereal

@Dodothereal Dodothereal commented Jun 24, 2026 •

Copy link
Copy Markdown
Contributor

Fixes part of #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 [email protected]

…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 <[email protected]>
@github-actions github-actions Bot added the physical-plan Changes to the physical-plan crate label Jun 24, 2026

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Dodothereal -- love this

@alamb
alamb added this pull request to the merge queue Jun 24, 2026
Merged via the queue into apache:main with commit a4342cb Jun 24, 2026
39 checks passed
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 v55.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants