ClickHouse/tests/queries/0_stateless/01559_misplaced_codec_diagnostics.sh

8 lines
280 B
Bash
Raw Normal View History

2020-11-06 18:23:30 +00:00
#!/usr/bin/env bash
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
2020-12-28 11:46:53 +00:00
# shellcheck source=../shell_config.sh
2020-11-06 18:23:30 +00:00
. "$CURDIR"/../shell_config.sh
${CLICKHOUSE_CLIENT} --query "CREATE TABLE t (c CODEC(NONE)) ENGINE = Memory" 2>&1 | grep -oF 'Unknown data type family: CODEC' | uniq