Skip to content

Conversation

@neilconway
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

This is no longer necessary with modern editions of Rust. In many cases, we also did #[macro_use], so removing this cleans up the namespace of the file doing the use.

What changes are included in this PR?

Remove "extern crate criterion" in benchmark code, and update "use" statements as necessary. Along the way, remove a few unnecessary extern crate arrow and similar from the benchmark code.

Are these changes tested?

Yes, but no new tests added or needed.

Are there any user-facing changes?

No.

@github-actions github-actions bot added core Core DataFusion crate functions Changes to functions implementation spark labels Feb 11, 2026
@neilconway neilconway force-pushed the neilc/rm-external-crate branch from e2c13f7 to afd861a Compare February 11, 2026 19:55
This is no longer necessary with modern editions of Rust. In many cases,
we also did `#[macro_use]`, so removing this cleans up the namespace of
the file doing the `use`.

Along the way, remove a few unnecessary `extern crate arrow` and similar
from the benchmark code.
@neilconway neilconway force-pushed the neilc/rm-external-crate branch from afd861a to ffb7fbb Compare February 11, 2026 19:58
Copy link
Contributor

@Jefffrey Jefffrey left a comment

Choose a reason for hiding this comment

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

nice cleanup

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

Labels

core Core DataFusion crate functions Changes to functions implementation spark

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: Remove unnecessary "extern crate criterion"

2 participants