Commit d9ae2b2
Fix benchmarks build: remove nonexistent with_distributed_dynamic_task_count call (#488)
## Summary
- Commit `0d4e239` (Benchmarks housekeeping) introduced a `dynamic:
bool` field in `RunOpt` and called
`.with_distributed_dynamic_task_count(self.dynamic)?` in
`RunOpt::run_local`
- That method was never implemented in `distributed_ext.rs`, so the
`dfbench` binary has been broken since that commit
- This PR removes the two dead lines (the struct field and the call
site)
## Verification
Checked out to `0d4e239` and confirmed the compile error:
```
error[E0599]: no method named `with_distributed_dynamic_task_count` found for struct `SessionStateBuilder`
--> benchmarks/src/run.rs:212:14
```
After this fix, `cargo build -p datafusion-distributed-benchmarks --bin
dfbench` compiles cleanly.
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 003ee87 commit d9ae2b2
1 file changed
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | 108 | | |
113 | 109 | | |
114 | 110 | | |
| |||
209 | 205 | | |
210 | 206 | | |
211 | 207 | | |
212 | | - | |
213 | 208 | | |
214 | 209 | | |
215 | 210 | | |
| |||
0 commit comments