ClickHouse/tests/queries/0_stateless/02234_clickhouse_local_test_mode.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
357 B
Bash
Raw Normal View History

2022-03-14 11:00:47 +00:00
#!/usr/bin/env bash
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
2023-02-20 18:26:39 +00:00
$CLICKHOUSE_LOCAL --query="SELECT n SETTINGS allow_experimental_analyzer = 1" 2>&1 | grep -q "Code: 47. DB::Exception:" && echo 'OK' || echo 'FAIL' ||:
2022-03-17 09:49:14 +00:00
$CLICKHOUSE_LOCAL --query="SELECT n -- { serverError 47 }"