2019-07-15 16:32:52 +00:00
|
|
|
#!/usr/bin/env bash
|
2022-04-11 10:52:26 +00:00
|
|
|
# Tags: no-parallel
|
2019-07-15 16:32:52 +00:00
|
|
|
|
2019-07-24 18:07:24 +00:00
|
|
|
CLICKHOUSE_CLIENT_SERVER_LOGS_LEVEL=trace
|
|
|
|
|
2019-07-15 16:32:52 +00:00
|
|
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
2020-12-28 11:46:53 +00:00
|
|
|
# shellcheck source=../shell_config.sh
|
2020-08-01 00:51:12 +00:00
|
|
|
. "$CURDIR"/../shell_config.sh
|
2019-07-15 16:32:52 +00:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# No log lines without query id
|
2022-04-11 10:52:26 +00:00
|
|
|
$CLICKHOUSE_CLIENT --query_id=hello_00971 --query="SELECT count() FROM numbers(10)" 2>&1 | grep -vF ' {hello_00971} ' | grep -P '<\w+>' ||:
|