mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
131 lines
870 B
Plaintext
131 lines
870 B
Plaintext
1
|
|
2
|
|
3
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
2
|
|
3
|
|
2
|
|
3
|
|
1
|
|
1 Hello
|
|
2
|
|
2 World
|
|
3
|
|
3 abc
|
|
4 def
|
|
2
|
|
2 World
|
|
3
|
|
3 abc
|
|
4 def
|
|
2 World
|
|
3 abc
|
|
4 def
|
|
2
|
|
2 World
|
|
3
|
|
3 abc
|
|
4 def
|
|
1
|
|
2
|
|
3
|
|
1
|
|
1 Hello
|
|
2
|
|
2 World
|
|
3
|
|
3 abc
|
|
4 def
|
|
2
|
|
2 World
|
|
3
|
|
3 abc
|
|
4 def
|
|
2 World
|
|
3 abc
|
|
4 def
|
|
2
|
|
2 World
|
|
3
|
|
3 abc
|
|
4 def
|
|
1
|
|
2
|
|
3
|
|
1
|
|
1 Hello
|
|
2
|
|
2 World
|
|
3
|
|
3 abc
|
|
4 def
|
|
1
|
|
1 Hello
|
|
2
|
|
2 World
|
|
3
|
|
3 abc
|
|
4 def
|
|
1
|
|
1 Hello
|
|
2
|
|
2 World
|
|
3
|
|
3 abc
|
|
4 def
|
|
2
|
|
2 World
|
|
3
|
|
3 abc
|
|
4 def
|
|
2 World
|
|
3 abc
|
|
4 def
|
|
2
|
|
2 World
|
|
3
|
|
3 abc
|
|
4 def
|
|
1
|
|
2
|
|
3
|
|
1
|
|
1 Hello
|
|
2
|
|
2 World
|
|
3
|
|
3 abc
|
|
4 def
|
|
2
|
|
2 World
|
|
3
|
|
3 abc
|
|
4 def
|
|
2 World
|
|
3 abc
|
|
4 def
|
|
2
|
|
2 World
|
|
3
|
|
3 abc
|
|
4 def
|
|
1
|
|
2
|
|
3
|
|
*** Check table creation statement ***
|
|
CREATE TABLE test.pk2 ( x UInt32, y UInt32, z UInt32) ENGINE = MergeTree PRIMARY KEY (x, y) ORDER BY (x, y, z) SETTINGS index_granularity = 8192
|
|
*** Check that the inserted values were correctly sorted ***
|
|
100 20 1
|
|
100 20 2
|
|
100 30 1
|
|
100 30 2
|