ClickHouse/benchmark/bigquery/run.sh

11 lines
203 B
Bash
Raw Normal View History

2022-07-03 23:19:45 +00:00
#!/bin/bash
TRIES=3
cat queries.sql | while read query; do
echo "$query";
for i in $(seq 1 $TRIES); do
time bq query --use_legacy_sql=false --use_cache=false <<< "$query"
done
done