ClickHouse/tests/queries/0_stateless/02429_low_cardinality_trash.sh

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

9 lines
407 B
Bash
Raw Normal View History

2022-09-21 00:05:38 +00:00
#!/usr/bin/env bash
# Tags: long
2022-09-21 00:05:38 +00:00
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CUR_DIR"/../shell_config.sh
${CLICKHOUSE_CURL} "${CLICKHOUSE_URL}" -sS --data-binary "SELECT rand64(1) % 10 AS k, groupArray(toString(64 - floor(log2(rand64(2) + 1))))::Array(LowCardinality(String)) FROM numbers(100) GROUP BY k FORMAT RawBLOB" | grep -o -F 'NOT_IMPLEMENTED'