Skip to content

Commit

Permalink
Fix query count in benchmark tool (#667)
Browse files Browse the repository at this point in the history
Now that @robert3005 got Q15 running, we have 22 queries and not 21, so the progress bar is too short.
  • Loading branch information
AdamGS authored Aug 21, 2024
1 parent 47e8c56 commit 1f6e81c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench-vortex/src/bin/tpch_benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async fn bench_main(queries: Option<Vec<usize>>, iterations: usize, warmup: bool
table.add_row(Row::new(cells));
}

let query_count = queries.as_ref().map_or(21, |c| c.len());
let query_count = queries.as_ref().map_or(22, |c| c.len());

// Setup a progress bar
let progress = ProgressBar::new((query_count * formats.len()) as u64);
Expand Down

0 comments on commit 1f6e81c

Please sign in to comment.