ClickHouse/tests/queries/0_stateless/02971_analyzer_remote_id.sh

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

16 lines
699 B
Bash
Raw Normal View History

2024-01-29 20:53:57 +00:00
#!/usr/bin/env bash
2024-01-30 07:16:21 +00:00
# Tags: no-parallel
2024-01-29 20:53:57 +00:00
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
${CLICKHOUSE_CLIENT} --query="DROP DATABASE IF EXISTS test_02971"
${CLICKHOUSE_CLIENT} --query="CREATE DATABASE test_02971"
${CLICKHOUSE_CLIENT} --query="CREATE TABLE test_02971.x ENGINE = MergeTree() ORDER BY number AS SELECT * FROM numbers(2)"
2024-01-30 15:11:43 +00:00
${CLICKHOUSE_LOCAL} --query="SELECT count() FROM remote('127.0.0.{2,3}', 'test_02971.x') SETTINGS allow_experimental_analyzer = 1" 2>&1 \
| grep -av "ASan doesn't fully support makecontext/swapcontext functions"
2024-01-29 20:53:57 +00:00
${CLICKHOUSE_CLIENT} --query="DROP DATABASE IF EXISTS test_02971"