mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
fix the row order to be like in the original test
This commit is contained in:
parent
6317208add
commit
85f8918753
@ -4,20 +4,21 @@
|
||||
</settings>
|
||||
|
||||
<create_query>
|
||||
CREATE TABLE a
|
||||
(
|
||||
d Date,
|
||||
os String
|
||||
)
|
||||
ENGINE = MergeTree
|
||||
PARTITION BY d
|
||||
ORDER BY d
|
||||
CREATE TABLE a
|
||||
(
|
||||
d Date,
|
||||
os String,
|
||||
n UInt64
|
||||
)
|
||||
ENGINE = MergeTree
|
||||
PARTITION BY d
|
||||
ORDER BY d, n
|
||||
</create_query>
|
||||
|
||||
<fill_query>insert into a select '2000-01-01', ['aa','bb','cc','dd'][number % 4 + 1] from numbers_mt(100000000)</fill_query>
|
||||
<fill_query>insert into a select '2000-01-02', ['aa','bb','cc','dd'][number % 4 + 1] from numbers_mt(100000000)</fill_query>
|
||||
<fill_query>insert into a select '2000-01-03', ['aa','bb','cc','dd'][number % 4 + 1] from numbers_mt(100000000)</fill_query>
|
||||
<fill_query>insert into a select '2000-01-04', ['aa','bb','cc','dd'][number % 4 + 1] from numbers_mt(100000000)</fill_query>
|
||||
<fill_query>insert into a select '2000-01-01', ['aa','bb','cc','dd'][number % 4 + 1], number from numbers_mt(100000000)</fill_query>
|
||||
<fill_query>insert into a select '2000-01-02', ['aa','bb','cc','dd'][number % 4 + 1], number from numbers_mt(100000000)</fill_query>
|
||||
<fill_query>insert into a select '2000-01-03', ['aa','bb','cc','dd'][number % 4 + 1], number from numbers_mt(100000000)</fill_query>
|
||||
<fill_query>insert into a select '2000-01-04', ['aa','bb','cc','dd'][number % 4 + 1], number from numbers_mt(100000000)</fill_query>
|
||||
|
||||
<fill_query>OPTIMIZE TABLE a FINAL</fill_query>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user