Skip to content

chore: remove dead indexed_field.rs - #1746

Merged
timsaucer merged 1 commit into
mainfrom
chore/remove-dead-indexed-field
Sep 16, 2026
Merged

timsaucer merged 1 commit into
mainfrom
chore/remove-dead-indexed-field

Conversation

@timsaucer

@timsaucer timsaucer commented Sep 16, 2026

Copy link
Copy Markdown
Member

Which issue does this PR close?

Closes #1745.

Rationale for this change

crates/core/src/expr/indexed_field.rs has not been part of the crate since b5446ef (#728, the DataFusion 39 upgrade), which removed both pub mod indexed_field; and the m.add_class::<indexed_field::PyGetIndexedField>() registration from crates/core/src/expr.rs after upstream replaced Expr::GetIndexField with the FieldAccessor trait. The file was left on disk.

What changes are included in this PR?

Deletes crates/core/src/expr/indexed_field.rs. Nothing else changes.

Are there any user-facing changes?

None

The `pub mod indexed_field;` declaration and the PyGetIndexedField class
registration were dropped from crates/core/src/expr.rs in b5446ef (#728)
when DataFusion 39 replaced Expr::GetIndexField with the FieldAccessor
trait, but the file stayed on disk. It has not been compiled since, and it
imports GetIndexedField, which no longer exists upstream.

The nightly pre-commit rust-fmt hook formats files by path, so it keeps
rewriting the orphan; stable `cargo fmt --check` in CI walks the module
tree and never sees it. Deleting the file ends that churn.

Closes #1745

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@timsaucer
timsaucer merged commit c15236f into main Sep 16, 2026
26 checks passed
@timsaucer
timsaucer deleted the chore/remove-dead-indexed-field branch September 16, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove dead crates/core/src/expr/indexed_field.rs

1 participant