Skip to content

Commit 63a2801

Browse files
alambclaude
andauthored
minor: fold tpcds_planning test into core_integration binary (#26422)
## Which issue does this PR close? This follows the same rationale as earlier PRs like - #10588 - #11831 - #18226 - #26419 ## Rationale for this change Each `.rs` file directly in `datafusion/core/tests` becomes its own test binary. In this case, the standalone `tpcds_planning` binary requires **390 MB** (408,695,296 bytes, as reported by `du -h`) on my machine (macOS, aarch64) ```shell cargo test -p datafusion --test tpcds_planning --no-run ``` The binary was added in - #4719 ## What changes are included in this PR? Move `datafusion/core/tests/tpcds_planning.rs` to `datafusion/core/tests/sql/tpcds_planning.rs` and register it in `sql/mod.rs`, so it is built as part of `core_integration`. Size of `core_integration` (debug build): | | bytes | |---|---| | before | 457,595,344 | | after | 458,314,960 (+703 KB) | So this saves creating a ~390 MB binary at a cost of ~703 KB in `core_integration`. ## What is the testing strategy for this PR? CI ## Are there any user-facing changes? No, developer productivity / CI efficiency Co-authored-by: Claude Sonnet 5.5 <[email protected]>
1 parent 1da3cf0 commit 63a2801

2 files changed

Lines changed: 1 addition & 0 deletions

File tree

‎datafusion/core/tests/sql/mod.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ mod path_partition;
7070
mod runtime_config;
7171
pub mod select;
7272
mod sql_api;
73+
mod tpcds_planning;
7374
mod union_comparison;
7475
mod union_nullable;
7576
mod unparser;
File renamed without changes.

0 commit comments

Comments
 (0)