Skip to content

Commit 4911eab

Browse files
committed
chore: Add TPCDS benchmarks.
1 parent 247c2cd commit 4911eab

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

benchmarks/src/tpcds/run.rs

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -208,18 +208,9 @@ impl RunOpt {
208208
// query 15 is special, with 3 statements. the second statement is the one from which we
209209
// want to capture the results
210210
let mut result = vec![];
211-
if query_id == 15 {
212-
for (n, query) in sql.iter().enumerate() {
213-
if n == 1 {
214-
result = self.execute_query(ctx, query).await?;
215-
} else {
216-
self.execute_query(ctx, query).await?;
217-
}
218-
}
219-
} else {
220-
for query in sql {
221-
result = self.execute_query(ctx, query).await?;
222-
}
211+
212+
for query in sql {
213+
result = self.execute_query(ctx, query).await?;
223214
}
224215

225216
let elapsed = start.elapsed();

0 commit comments

Comments
 (0)