mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 18:32:29 +00:00
102 lines
3.7 KiB
Plaintext
102 lines
3.7 KiB
Plaintext
d Date
|
|
k UInt64
|
|
i32 Int32
|
|
CREATE TABLE test.alter ( d Date, k UInt64, i32 Int32) ENGINE = MergeTree(d, k, 8192)
|
|
2015-01-01 10 42
|
|
d Date
|
|
k UInt64
|
|
i32 Int32
|
|
n.ui8 Array(UInt8)
|
|
n.s Array(String)
|
|
CREATE TABLE test.alter ( d Date, k UInt64, i32 Int32, `n.ui8` Array(UInt8), `n.s` Array(String)) ENGINE = MergeTree(d, k, 8192)
|
|
2015-01-01 8 40 [1,2,3] ['12','13','14']
|
|
2015-01-01 10 42 [] []
|
|
d Date
|
|
k UInt64
|
|
i32 Int32
|
|
n.ui8 Array(UInt8)
|
|
n.s Array(String)
|
|
n.d Array(Date)
|
|
CREATE TABLE test.alter ( d Date, k UInt64, i32 Int32, `n.ui8` Array(UInt8), `n.s` Array(String), `n.d` Array(Date)) ENGINE = MergeTree(d, k, 8192)
|
|
2015-01-01 7 39 [10,20,30] ['120','130','140'] ['2000-01-01','2000-01-01','2000-01-03']
|
|
2015-01-01 8 40 [1,2,3] ['12','13','14'] ['0000-00-00','0000-00-00','0000-00-00']
|
|
2015-01-01 10 42 [] [] []
|
|
d Date
|
|
k UInt64
|
|
i32 Int32
|
|
n.ui8 Array(UInt8)
|
|
n.s Array(String)
|
|
n.d Array(Date)
|
|
s String DEFAULT \'0\'
|
|
CREATE TABLE test.alter ( d Date, k UInt64, i32 Int32, `n.ui8` Array(UInt8), `n.s` Array(String), `n.d` Array(Date), s String DEFAULT \'0\') ENGINE = MergeTree(d, k, 8192)
|
|
2015-01-01 6 38 [10,20,30] ['asd','qwe','qwe'] ['2000-01-01','2000-01-01','2000-01-03'] 100500
|
|
2015-01-01 7 39 [10,20,30] ['120','130','140'] ['2000-01-01','2000-01-01','2000-01-03'] 0
|
|
2015-01-01 8 40 [1,2,3] ['12','13','14'] ['0000-00-00','0000-00-00','0000-00-00'] 0
|
|
2015-01-01 10 42 [] [] [] 0
|
|
d Date
|
|
k UInt64
|
|
i32 Int32
|
|
n.ui8 Array(UInt8)
|
|
n.s Array(String)
|
|
s Int64
|
|
CREATE TABLE test.alter ( d Date, k UInt64, i32 Int32, `n.ui8` Array(UInt8), `n.s` Array(String), s Int64) ENGINE = MergeTree(d, k, 8192)
|
|
2015-01-01 6 38 [10,20,30] ['asd','qwe','qwe'] 100500
|
|
2015-01-01 7 39 [10,20,30] ['120','130','140'] 0
|
|
2015-01-01 8 40 [1,2,3] ['12','13','14'] 0
|
|
2015-01-01 10 42 [] [] 0
|
|
d Date
|
|
k UInt64
|
|
i32 Int32
|
|
n.ui8 Array(UInt8)
|
|
n.s Array(String)
|
|
s UInt32
|
|
n.d Array(Date)
|
|
CREATE TABLE test.alter ( d Date, k UInt64, i32 Int32, `n.ui8` Array(UInt8), `n.s` Array(String), s UInt32, `n.d` Array(Date)) ENGINE = MergeTree(d, k, 8192)
|
|
2015-01-01 6 38 [10,20,30] ['asd','qwe','qwe'] 100500 ['0000-00-00','0000-00-00','0000-00-00']
|
|
2015-01-01 7 39 [10,20,30] ['120','130','140'] 0 ['0000-00-00','0000-00-00','0000-00-00']
|
|
2015-01-01 8 40 [1,2,3] ['12','13','14'] 0 ['0000-00-00','0000-00-00','0000-00-00']
|
|
2015-01-01 10 42 [] [] 0 []
|
|
2015-01-01 6 38 [10,20,30] ['asd','qwe','qwe'] 100500 ['0000-00-00','0000-00-00','0000-00-00']
|
|
2015-01-01 7 39 [10,20,30] ['120','130','140'] 0 ['0000-00-00','0000-00-00','0000-00-00']
|
|
2015-01-01 8 40 [1,2,3] ['12','13','14'] 0 ['0000-00-00','0000-00-00','0000-00-00']
|
|
2015-01-01 10 42 [] [] 0 []
|
|
d Date
|
|
k UInt64
|
|
i32 Int32
|
|
n.s Array(String)
|
|
s UInt32
|
|
CREATE TABLE test.alter ( d Date, k UInt64, i32 Int32, `n.s` Array(String), s UInt32) ENGINE = MergeTree(d, k, 8192)
|
|
2015-01-01 6 38 ['asd','qwe','qwe'] 100500
|
|
2015-01-01 7 39 ['120','130','140'] 0
|
|
2015-01-01 8 40 ['12','13','14'] 0
|
|
2015-01-01 10 42 [] 0
|
|
d Date
|
|
k UInt64
|
|
i32 Int32
|
|
s UInt32
|
|
CREATE TABLE test.alter ( d Date, k UInt64, i32 Int32, s UInt32) ENGINE = MergeTree(d, k, 8192)
|
|
2015-01-01 6 38 100500
|
|
2015-01-01 7 39 0
|
|
2015-01-01 8 40 0
|
|
2015-01-01 10 42 0
|
|
d Date
|
|
k UInt64
|
|
i32 Int32
|
|
s UInt32
|
|
n.s Array(String)
|
|
n.d Array(Date)
|
|
CREATE TABLE test.alter ( d Date, k UInt64, i32 Int32, s UInt32, `n.s` Array(String), `n.d` Array(Date)) ENGINE = MergeTree(d, k, 8192)
|
|
2015-01-01 6 38 100500 [] []
|
|
2015-01-01 7 39 0 [] []
|
|
2015-01-01 8 40 0 [] []
|
|
2015-01-01 10 42 0 [] []
|
|
d Date
|
|
k UInt64
|
|
i32 Int32
|
|
s UInt32
|
|
CREATE TABLE test.alter ( d Date, k UInt64, i32 Int32, s UInt32) ENGINE = MergeTree(d, k, 8192)
|
|
2015-01-01 6 38 100500
|
|
2015-01-01 7 39 0
|
|
2015-01-01 8 40 0
|
|
2015-01-01 10 42 0
|