Merge pull request #57831 from ClickHouse/clickbench-better

ClickBench: slightly better
This commit is contained in:
Alexey Milovidov 2023-12-14 00:56:00 +01:00 committed by GitHub
commit 1c6eefd7db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ QUERY_NUM=1
while read -r query; do
echo -n "["
for i in $(seq 1 $TRIES); do
RES=$(clickhouse-client --time --format Null --query "$query" --progress 0 2>&1 ||:)
RES=$(clickhouse-client --query_id "q${QUERY_NUM}-${i}" --time --format Null --query "$query" --progress 0 2>&1 ||:)
echo -n "${RES}"
[[ "$i" != "$TRIES" ]] && echo -n ", "