Update 01184_long_insert_values_huge_strings.sh

This commit is contained in:
alexey-milovidov 2021-04-29 09:46:14 +03:00 committed by GitHub
parent 0cefaf0f4b
commit 7a2f6f4277
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,8 @@ $CLICKHOUSE_CLIENT -q "create table huge_strings (n UInt64, l UInt64, s String,
# Timeouts are increased, because test can be slow with sanitizers and parallel runs.
for _ in {1..10}; do
$CLICKHOUSE_CLIENT --receive_timeout 600 --send_timeout 600 -q "select number, (rand() % 10*1000*1000) as l, repeat(randomString(l/1000/1000), 1000*1000) as s, cityHash64(s) from numbers(10) format Values" | $CLICKHOUSE_CLIENT --receive_timeout 600 --send_timeout 600 -q "insert into huge_strings values" &
$CLICKHOUSE_CLIENT --receive_timeout 600 --send_timeout 600 -q "select number % 10, (rand() % 10) as l, randomString(l) as s, cityHash64(s) from numbers(100000)" | $CLICKHOUSE_CLIENT --receive_timeout 600 --send_timeout 600 -q "insert into huge_strings format TSV" &
$CLICKHOUSE_CLIENT --receive_timeout 100 --send_timeout 100 --connect-timeout 100 --query "select number, (rand() % 10*1000*1000) as l, repeat(randomString(l/1000/1000), 1000*1000) as s, cityHash64(s) from numbers(10) format Values" | $CLICKHOUSE_CLIENT --receive_timeout 100 --send_timeout 100 --connect-timeout 100 --query "insert into huge_strings values" &
$CLICKHOUSE_CLIENT --receive_timeout 100 --send_timeout 100 --connect-timeout 100 --query "select number % 10, (rand() % 10) as l, randomString(l) as s, cityHash64(s) from numbers(100000)" | $CLICKHOUSE_CLIENT --receive_timeout 100 --send_timeout 100 --connect-timeout 100 --query "insert into huge_strings format TSV" &
done;
wait