Skip to content

Reduce the number of distinct binaries to reduce CI / compile time #18142

Description

@alamb

Is your feature request related to a problem or challenge?

We have been running out of diskspace when running CI jobs

For example

Part of this is due to the fact that each binary that is created (example, test, etc) gets an entire
copy of the DataFusion codebase compiled into it.

For example, on my machine, after running ./ci/scripts/rust_example.sh each example binary is 50-60MB in size:

(venv) andrewlamb@Andrews-MacBook-Pro-3:~/Software/datafusion$ du -s -h  target/ci/examples/
 52M	target/ci/examples/tracing
 52M	target/ci/examples/simple_udf
 55M	target/ci/examples/thread_pools

Describe the solution you'd like

Thus I think it will be helpful to reduce the number of examples

Describe alternatives you've considered

Two options, depending on the example:

  1. consolidate multiple examples into a single binary with subcommands
  2. Move some of the sort examples into the rustdocs closer to the code they are demonstrating

Tasks

Activity

  1. added theissue type on Oct 17, 2025
  2. cj-zhukov commented on Oct 23, 2025

    @cj-zhukov
    Contributor

    take

  3. 13 remaining items

  4. cj-zhukov commented on Feb 23, 2026

    @cj-zhukov
    Contributor

    @alamb As far as I can tell, the work described in this issue has been completed and the related changes have already been merged. I don’t see any remaining open tasks here.

    If everything is covered, perhaps this issue can be closed? If there’s still work to be done, I’d be happy to continue and help move it forward.

  5. alamb commented on Feb 27, 2026

    @alamb
    ContributorAuthor

    I agree - this was epic work. Thank you @cj-zhukov 🙏

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions