mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
14 lines
443 B
Bash
Executable File
14 lines
443 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# level should be 'trace', otherwise it will not trigger the issue
|
|
CLICKHOUSE_CLIENT_SERVER_LOGS_LEVEL=trace
|
|
|
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
# shellcheck source=../shell_config.sh
|
|
. "$CURDIR"/../shell_config.sh
|
|
|
|
# triggered not for the first query
|
|
for _ in {1..20}; do
|
|
echo "select * from remote('127.{2,3}', system.numbers) where number = 10 limit 1;"
|
|
done | ${CLICKHOUSE_CLIENT} -n 2>/dev/null
|