Minor changes

This commit is contained in:
Alexey Milovidov 2023-12-11 17:21:02 +01:00
parent 740ceea108
commit c76ceb29fd

View File

@ -31,6 +31,8 @@ clickhouse-client --time < /create.sql
# Run the queries # Run the queries
set +x
TRIES=3 TRIES=3
QUERY_NUM=1 QUERY_NUM=1
while read -r query; do while read -r query; do
@ -47,6 +49,8 @@ while read -r query; do
QUERY_NUM=$((QUERY_NUM + 1)) QUERY_NUM=$((QUERY_NUM + 1))
done < /queries.sql done < /queries.sql
set -x
clickhouse-client --query "SELECT total_bytes FROM system.tables WHERE name = 'hits' AND database = 'default'" clickhouse-client --query "SELECT total_bytes FROM system.tables WHERE name = 'hits' AND database = 'default'"
echo -e "success\tClickBench finished" > /test_output/check_status.tsv echo -e "success\tClickBench finished" > /test_output/check_status.tsv