ClickHouse/tests/queries/0_stateless/01559_misplaced_codec_diagnostics.sh
Alexey Milovidov 57a0dd3074 Add a test
2020-11-06 21:23:30 +03:00

7 lines
241 B
Bash
Executable File

#!/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