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

7 lines
241 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)
. "$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