mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
11 lines
203 B
Bash
Executable File
11 lines
203 B
Bash
Executable File
#!/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
|