Make test 00159_parallel_formatting_tsv_and_friends.sh more stable

This commit is contained in:
Kruglov Pavel 2022-04-06 16:04:55 +02:00 committed by GitHub
parent 2aa3d32887
commit 57ddb18f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,10 +10,10 @@ FORMATS=('TSV' 'TSVWithNames' 'TSKV')
for format in "${FORMATS[@]}"
do
echo "$format, false";
$CLICKHOUSE_CLIENT --output_format_parallel_formatting=false -q \
$CLICKHOUSE_CLIENT --max_threads=0 --output_format_parallel_formatting=false -q \
"SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c Format $format" | md5sum
echo "$format, true";
$CLICKHOUSE_CLIENT --output_format_parallel_formatting=true -q \
$CLICKHOUSE_CLIENT --max_threads=0 --output_format_parallel_formatting=true -q \
"SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c Format $format" | md5sum
done