Repository navigation
Commit 63a2801
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
File renamed without changes.
0 commit comments