Skip to content

chore: remove leftovers inherited from Arrow - #2474

Open
NoahKusaba wants to merge 5 commits into
apache:mainfrom
NoahKusaba:chore/remove-inherited-leftovers
Open

NoahKusaba wants to merge 5 commits into
apache:mainfrom
NoahKusaba:chore/remove-inherited-leftovers

Conversation

@NoahKusaba

@NoahKusaba NoahKusaba commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Rationale for this change

Some repository config still refers to files and test data from Apache Arrow, where this project started, and never matches anything here.

What changes are included in this PR?

  • Drop .gitignore entries for files this repository does not produce: C++, R, Visual Studio, flatbuffers, and Arrow's docker and packaging directories. Entries that aren't Arrow-specific stay: perf.data (perf is run against the executor) and Jupyter's .ipynb_checkpoints/, since python/examples/ has notebooks. The checkpoints entry now covers any directory, not only python/examples/.
  • Drop dev/release/rat_exclude_files.txt entries that match no file in the repository, such as ci/vcpkg, helm/, *.pxd and parquet-testing.
  • rust.yml: four jobs exported ARROW_TEST_DATA and PARQUET_TEST_DATA, pointing at testing/ and parquet-testing/, which this repository does not have, and checked out submodules it does not define. Nothing reads either variable. Remove both.
  • Drop the prettier exclusion in dev.yml for a ballista/CHANGELOG.md that does not exist. Have CONTRIBUTING show the pinned npx prettier@2.7.1 command CI actually runs, rather than a global install that may format differently.
  • Delete the root take.yml, a diverged duplicate of the live workflow in .github/workflows/. GitHub never ran the root copy.

Are there any user-facing changes?

No.

Checked:

  • No removed .gitignore pattern un-ignores a file in a built working tree or matches a tracked file.
  • No removed RAT pattern matches a file in the repository. The RAT job passes.
  • rust.yml and dev.yml parse.

Not changed here: dev/release/verify-release-candidate.sh still clones arrow-testing and parquet-testing and exports the same variables. Since it is part of the release process, it is better done separately.

Split out of #2438 to make it easier to review.

🤖 Generated with Claude Code

- Drop .gitignore and rat_exclude_files.txt entries for files this repository
  does not have (C++, R, flatbuffers, parquet-testing, ...).
- Drop the prettier exclusion for a ballista/CHANGELOG.md that does not exist,
  and document the pinned prettier command CI actually runs.
- Delete the root take.yml, a diverged duplicate of the live workflow in
  .github/workflows/.
- Document dev/update_datafusion_versions.py, which nothing referenced.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added documentation Improvements or additions to documentation development-process labels Sep 22, 2026

@andygrove andygrove left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for splitting this out, much easier to review! The Arrow cleanup looks good to me. Left one comment on the new script docs and a small nit.

that ports any DataFusion API changes, refreshes affected golden files, and keeps `cargo test` and
`cargo clippy --all-targets --workspace -- -D warnings` green.

`dev/update_datafusion_versions.py` rewrites the `datafusion*` entries across the workspace for you.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I tried this on a clean checkout of main (uv run --no-project --with tomlkit dev/update_datafusion_versions.py 56.0.0) and it only changed python/Cargo.toml and python/pyproject.toml. The real pins live in [workspace.dependencies] in the root Cargo.toml, and the member crates all use workspace = true, so the script skips them. Its crates list is also still the upstream DataFusion one (datafusion-jit, datafusion-row, and so on) and is missing datafusion-spark, datafusion-substrait, datafusion-proto-common and datafusion-functions-aggregate-common.

Could we either leave this doc out of this PR, or fix the script to update the root manifest first? Happy to see that as a follow-up.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch, and thanks for actually running it. You're right: the pins all live in [workspace.dependencies], which the script never reads, and its crate list is still DataFusion's own. I've dropped the doc from this PR so it doesn't send anyone to a script that doesn't work, and I'll fix the script in a follow-up.

Comment thread .gitignore
*.iml

# Linux perf sample data
perf.data

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Small nit, feel free to ignore. perf.data isn't really Arrow specific and folks do run perf against the executor, so it might be worth keeping.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fair point, restored. That made me recheck the other removals for the same thing, and I'd also dropped python/examples/.ipynb_checkpoints, which isn't Arrow-specific either since we ship notebooks there. It's back too, as .ipynb_checkpoints/ so it covers any directory.

NoahKusaba and others added 3 commits September 22, 2026 18:38
….py docs

perf.data is not Arrow-specific; perf is run against the executor.

dev/update_datafusion_versions.py does not update the root manifest's
[workspace.dependencies], where the DataFusion pins live, so documenting it
would point contributors at a script that does not work. Fixing it is left
to a follow-up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
python/examples/ has notebooks, and opening them creates
.ipynb_checkpoints/, so that ignore was not Arrow-specific. Generalise it
from python/examples/ to any directory. Also group *.iml with .idea/ and
drop a comment line left empty in dev.yml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Four rust.yml jobs exported ARROW_TEST_DATA and PARQUET_TEST_DATA pointing
at testing/ and parquet-testing/, which this repository does not have, and
checked out submodules it does not define. Nothing reads either variable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot removed the documentation Improvements or additions to documentation label Sep 22, 2026
@NoahKusaba

Copy link
Copy Markdown
Contributor Author

Thanks for the review. Addressed both comments, and while I was at it I added one more Arrow leftover: four rust.yml jobs exported ARROW_TEST_DATA / PARQUET_TEST_DATA for directories that don't exist here and checked out submodules we don't define. Nothing reads them. The description is updated to match.

@milenkovicm milenkovicm 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.

thanks @NoahKusaba

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants