mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
7f93f9ad2f
Add TTL for columns and tables.
110 lines
1.4 KiB
Plaintext
110 lines
1.4 KiB
Plaintext
d Date DEFAULT CAST(\'2015-12-29\', \'Date\')
|
|
k UInt8 DEFAULT 0
|
|
e Enum8(\'hello\' = 1, \'world\' = 2)
|
|
sign Enum8(\'minus\' = -1, \'plus\' = 1)
|
|
letter Enum16(\'*\' = -256, \'a\' = 0, \'b\' = 1, \'c\' = 2)
|
|
2015-12-29 0 hello minus *
|
|
d Date DEFAULT CAST(\'2015-12-29\', \'Date\')
|
|
k UInt8 DEFAULT 0
|
|
e Enum8(\'hello\' = 1, \'world\' = 2, \'!\' = 3)
|
|
sign Enum8(\'minus\' = -1, \'plus\' = 1)
|
|
letter Enum16(\'*\' = -256, \'a\' = 0, \'b\' = 1, \'c\' = 2)
|
|
2015-12-29 0 hello minus *
|
|
2015-12-29 0 ! plus b
|
|
d Date DEFAULT CAST(\'2015-12-29\', \'Date\')
|
|
k UInt8 DEFAULT 0
|
|
e Enum16(\'hello\' = 1, \'world\' = 2, \'!\' = 3)
|
|
sign Enum16(\'minus\' = -1, \'plus\' = 1)
|
|
letter Enum16(\'no letter\' = -256, \'a\' = 0, \'b\' = 1, \'c\' = 2)
|
|
2015-12-29 0 hello minus no letter
|
|
2015-12-29 0 ! plus b
|
|
d Date DEFAULT CAST(\'2015-12-29\', \'Date\')
|
|
k UInt8 DEFAULT 0
|
|
e Enum8(\'hello\' = 1, \'world\' = 2, \'!\' = 3)
|
|
sign Enum8(\'minus\' = -1, \'plus\' = 1)
|
|
letter Enum16(\'no letter\' = -256, \'a\' = 0, \'b\' = 1, \'c\' = 2)
|
|
2015-12-29 0 hello minus no letter
|
|
2015-12-29 0 ! plus b
|
|
2015-12-29 0 world minus c
|
|
d
|
|
b
|
|
a
|
|
c
|
|
a
|
|
d
|
|
a
|
|
a
|
|
b
|
|
c
|
|
d
|
|
d
|
|
d
|
|
d
|
|
c
|
|
b
|
|
a
|
|
a
|
|
2 a
|
|
1 b
|
|
1 c
|
|
2 d
|
|
d
|
|
d
|
|
a
|
|
a
|
|
d
|
|
d
|
|
b
|
|
a
|
|
c
|
|
a
|
|
d
|
|
d
|
|
b
|
|
a
|
|
c
|
|
d
|
|
b
|
|
a
|
|
c
|
|
a
|
|
d
|
|
d
|
|
a
|
|
a
|
|
d
|
|
d
|
|
b
|
|
c
|
|
d
|
|
d 0
|
|
b 0
|
|
a 1
|
|
c 0
|
|
a 1
|
|
d 0
|
|
d 1
|
|
b 0
|
|
a 0
|
|
c 1
|
|
a 0
|
|
d 1
|
|
3 3 3 d d
|
|
1 1 1 b b
|
|
0 0 0 a a
|
|
2 2 2 c c
|
|
0 0 0 a a
|
|
3 3 3 d d
|
|
d
|
|
b
|
|
a
|
|
c
|
|
a
|
|
d
|
|
d
|
|
b
|
|
a
|
|
c
|
|
a
|
|
d
|