mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
3 lines
664 B
Plaintext
3 lines
664 B
Plaintext
CREATE TABLE default.non_metadata_alters\n(\n `key` UInt64,\n `value1` String,\n `value2` Enum8(\'Hello\' = 1, \'World\' = 2),\n `value3` UInt16 TTL value5 + toIntervalDay(5),\n `value4` DateTime,\n `value5` Date\n)\nENGINE = MergeTree\nORDER BY tuple()\nSETTINGS index_granularity = 8192
|
|
CREATE TABLE default.non_metadata_alters\n(\n `key` UInt64,\n `value1` String DEFAULT \'X\',\n `value2` Enum8(\'Hello\' = 1, \'World\' = 2, \'!\' = 3),\n `value3` Date TTL value5 + toIntervalDay(5),\n `value4` UInt32,\n `value5` Date,\n `value6` Decimal(3, 3)\n)\nENGINE = MergeTree\nORDER BY tuple()\nSETTINGS index_granularity = 8192
|