mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
7f93f9ad2f
Add TTL for columns and tables.
7 lines
720 B
Plaintext
7 lines
720 B
Plaintext
CREATE TABLE test.check_comments (`column_name1` UInt8 DEFAULT 1 COMMENT \'comment\', `column_name2` UInt8 COMMENT \'non default comment\') ENGINE = ReplicatedMergeTree(\'clickhouse/tables/test_comments\', \'r1\') ORDER BY column_name1 SETTINGS index_granularity = 8192
|
|
column_name1 UInt8 DEFAULT 1 comment
|
|
column_name2 UInt8 non default comment
|
|
CREATE TABLE test.check_comments (`column_name1` UInt8 DEFAULT 1 COMMENT \'another comment\', `column_name2` UInt8 COMMENT \'non default comment\') ENGINE = ReplicatedMergeTree(\'clickhouse/tables/test_comments\', \'r1\') ORDER BY column_name1 SETTINGS index_granularity = 8192
|
|
column_name1 UInt8 DEFAULT 1 another comment
|
|
column_name2 UInt8 non default comment
|