mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
824255f603
The following has been used for this: git grep '^CREATE' tests/queries/**.reference | cut -d: -f1 | sort -u | xargs -n1 -i sh -c 'show-create-rewrite.py < {} | sponge {}' show-create-rewrite.py is available here: https://gist.github.com/azat/916b98b5ddf9573f7dc9a4dce33b59b5 And for 00998_constraints_all_tables test FORMAT TSVRaw I simply drop.
102 lines
4.5 KiB
Plaintext
102 lines
4.5 KiB
Plaintext
d Date
|
|
k UInt64
|
|
i32 Int32
|
|
CREATE TABLE default.alter_00061\n(\n `d` Date, \n `k` UInt64, \n `i32` Int32\n)\nENGINE = 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 default.alter_00061\n(\n `d` Date, \n `k` UInt64, \n `i32` Int32, \n `n.ui8` Array(UInt8), \n `n.s` Array(String)\n)\nENGINE = 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 default.alter_00061\n(\n `d` Date, \n `k` UInt64, \n `i32` Int32, \n `n.ui8` Array(UInt8), \n `n.s` Array(String), \n `n.d` Array(Date)\n)\nENGINE = 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 default.alter_00061\n(\n `d` Date, \n `k` UInt64, \n `i32` Int32, \n `n.ui8` Array(UInt8), \n `n.s` Array(String), \n `n.d` Array(Date), \n `s` String DEFAULT \'0\'\n)\nENGINE = 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 DEFAULT \'0\'
|
|
CREATE TABLE default.alter_00061\n(\n `d` Date, \n `k` UInt64, \n `i32` Int32, \n `n.ui8` Array(UInt8), \n `n.s` Array(String), \n `s` Int64 DEFAULT \'0\'\n)\nENGINE = 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 DEFAULT \'0\'
|
|
n.d Array(Date)
|
|
CREATE TABLE default.alter_00061\n(\n `d` Date, \n `k` UInt64, \n `i32` Int32, \n `n.ui8` Array(UInt8), \n `n.s` Array(String), \n `s` UInt32 DEFAULT \'0\', \n `n.d` Array(Date)\n)\nENGINE = 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 DEFAULT \'0\'
|
|
CREATE TABLE default.alter_00061\n(\n `d` Date, \n `k` UInt64, \n `i32` Int32, \n `n.s` Array(String), \n `s` UInt32 DEFAULT \'0\'\n)\nENGINE = 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 DEFAULT \'0\'
|
|
CREATE TABLE default.alter_00061\n(\n `d` Date, \n `k` UInt64, \n `i32` Int32, \n `s` UInt32 DEFAULT \'0\'\n)\nENGINE = 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 DEFAULT \'0\'
|
|
n.s Array(String)
|
|
n.d Array(Date)
|
|
CREATE TABLE default.alter_00061\n(\n `d` Date, \n `k` UInt64, \n `i32` Int32, \n `s` UInt32 DEFAULT \'0\', \n `n.s` Array(String), \n `n.d` Array(Date)\n)\nENGINE = 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 DEFAULT \'0\'
|
|
CREATE TABLE default.alter_00061\n(\n `d` Date, \n `k` UInt64, \n `i32` Int32, \n `s` UInt32 DEFAULT \'0\'\n)\nENGINE = 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
|