mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
Add a test
This commit is contained in:
parent
8f920d064c
commit
c1e7b7be89
@ -0,0 +1,2 @@
|
||||
ALTER TABLE t MODIFY COLUMN `c` CODEC(in(1, 2))
|
||||
ALTER TABLE t MODIFY COLUMN `c` STATISTICS(plus(1, 2))
|
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CURDIR"/../shell_config.sh
|
||||
|
||||
# Ensure that these (possibly incorrect) queries can at least be parsed back after formatting.
|
||||
$CLICKHOUSE_FORMAT --oneline --query "ALTER TABLE t MODIFY COLUMN c CODEC(in(1, 2))" | $CLICKHOUSE_FORMAT --oneline
|
||||
$CLICKHOUSE_FORMAT --oneline --query "ALTER TABLE t MODIFY COLUMN c STATISTICS(plus(1, 2))" | $CLICKHOUSE_FORMAT --oneline
|
Loading…
Reference in New Issue
Block a user