Commit f22a3f3
Use
## Which issue does this PR close?
## Rationale for this change
tpchgen-cli is 10x faster than dbgen for generating tpch data (see blog
here)
Thus let's use that to generate tpch data for our benchmarks, rather
than ancient docker / tpchgen
While I was testing this locally I also found a bunch of unecessary code
Also @comphead pointed out on
#19034 (review)
that the `bench.sh data tpch` generated both csv and parquet files when
it only really needs parquet.
## What changes are included in this PR?
1. Use tpchgen-cli to generate tpch data for our benchmarks
2. Do not generate `tbl` anymore (`tpchgen-cli` can make `csv` and
`parquet` files directly)
3. Remove the "convert" code and the `tpch` binary shim
4. Update the readme to explain how to use tpchgen-cli to generate data
## Are these changes tested?
I tested them manually using
```shell
./benchmarks/bench.sh data tpch
./benchmarks/bench.sh run tpch
./benchmarks/bench.sh data tpch_mem
./benchmarks/bench.sh run tpch_mem
./benchmarks/bench.sh data tpch_csv
./benchmarks/bench.sh run tpch_csv
./benchmarks/bench.sh data tpch10
./benchmarks/bench.sh run tpch10
./benchmarks/bench.sh data tpch_mem10
./benchmarks/bench.sh run tpch_mem10
./benchmarks/bench.sh data tpch_csv10
./benchmarks/bench.sh run tpch_csv10
```
## Are there any user-facing changes?
No, this is internal develpment code
---------
Co-authored-by: Martin Grigorov <[email protected]>tpchgen-cli to generate tpch data in bench.sh (#19035)1 parent 63a8c65 commit f22a3f3
File tree
6 files changed
+52
-297
lines changed- benchmarks
- src
- bin
- tpch
6 files changed
+52
-297
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
| 246 | + | |
254 | 247 | | |
255 | 248 | | |
256 | 249 | | |
257 | 250 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | 251 | | |
269 | 252 | | |
270 | 253 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
193 | | - | |
| 192 | + | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
| 209 | + | |
211 | 210 | | |
212 | 211 | | |
213 | | - | |
214 | | - | |
| 212 | + | |
215 | 213 | | |
216 | 214 | | |
217 | | - | |
| 215 | + | |
218 | 216 | | |
219 | 217 | | |
220 | | - | |
221 | | - | |
| 218 | + | |
222 | 219 | | |
223 | 220 | | |
224 | | - | |
225 | | - | |
| 221 | + | |
226 | 222 | | |
227 | 223 | | |
228 | 224 | | |
| |||
297 | 293 | | |
298 | 294 | | |
299 | 295 | | |
300 | | - | |
| 296 | + | |
301 | 297 | | |
302 | 298 | | |
303 | 299 | | |
304 | | - | |
| 300 | + | |
305 | 301 | | |
306 | 302 | | |
307 | 303 | | |
308 | | - | |
| 304 | + | |
309 | 305 | | |
310 | 306 | | |
311 | 307 | | |
312 | | - | |
| 308 | + | |
313 | 309 | | |
314 | 310 | | |
315 | 311 | | |
| |||
320 | 316 | | |
321 | 317 | | |
322 | 318 | | |
323 | | - | |
| 319 | + | |
324 | 320 | | |
325 | 321 | | |
326 | 322 | | |
| |||
537 | 533 | | |
538 | 534 | | |
539 | 535 | | |
540 | | - | |
| 536 | + | |
541 | 537 | | |
542 | 538 | | |
543 | 539 | | |
| |||
548 | 544 | | |
549 | 545 | | |
550 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
551 | 552 | | |
552 | 553 | | |
553 | | - | |
| 554 | + | |
554 | 555 | | |
555 | 556 | | |
556 | 557 | | |
557 | 558 | | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
565 | 564 | | |
566 | 565 | | |
567 | 566 | | |
| |||
574 | 573 | | |
575 | 574 | | |
576 | 575 | | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
586 | 586 | | |
587 | 587 | | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
597 | 598 | | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
598 | 602 | | |
599 | 603 | | |
600 | 604 | | |
| |||
611 | 615 | | |
612 | 616 | | |
613 | 617 | | |
614 | | - | |
| 618 | + | |
615 | 619 | | |
616 | 620 | | |
617 | | - | |
| 621 | + | |
618 | 622 | | |
619 | 623 | | |
620 | 624 | | |
| |||
627 | 631 | | |
628 | 632 | | |
629 | 633 | | |
630 | | - | |
| 634 | + | |
631 | 635 | | |
632 | 636 | | |
633 | 637 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
68 | | - | |
69 | 67 | | |
70 | 68 | | |
This file was deleted.
0 commit comments