mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
12 lines
317 B
Bash
Executable File
12 lines
317 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CLICKHOUSE_CLIENT_SERVER_LOGS_LEVEL=trace
|
|
|
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
. "$CURDIR"/../shell_config.sh
|
|
|
|
set -e
|
|
|
|
# No log lines without query id
|
|
$CLICKHOUSE_CLIENT --query_id=hello --query="SELECT count() FROM numbers(10)" 2>&1 | grep -vF ' {hello} ' | grep -P '<\w+>' ||:
|