mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
Updating the tests.
This commit is contained in:
parent
0015ec28f9
commit
43a23898e0
@ -13,9 +13,9 @@ CREATE TABLE default.recompression_table\n(\n `dt` DateTime,\n `key` UInt6
|
||||
1_1_1 LZ4
|
||||
2_2_2 ZSTD(12)
|
||||
3_3_3 ZSTD(12)
|
||||
1_1_1 ['plus(dt, toIntervalDay(1))']
|
||||
2_2_2 ['plus(dt, toIntervalDay(1))']
|
||||
3_3_3 ['plus(dt, toIntervalDay(1))']
|
||||
1_1_1 ['dt + toIntervalDay(1)']
|
||||
2_2_2 ['dt + toIntervalDay(1)']
|
||||
3_3_3 ['dt + toIntervalDay(1)']
|
||||
1_1_1 LZ4
|
||||
2_2_2 LZ4
|
||||
3_3_3 LZ4
|
||||
|
@ -0,0 +1,3 @@
|
||||
0
|
||||
0
|
||||
0
|
@ -1,18 +1,10 @@
|
||||
create or replace table temp (
|
||||
a UInt32
|
||||
)
|
||||
engine = MergeTree
|
||||
order by a;
|
||||
|
||||
insert into temp select number from system.numbers limit 100_000;
|
||||
|
||||
create or replace table t_temp (
|
||||
a UInt32,
|
||||
timestamp DateTime
|
||||
)
|
||||
engine = MergeTree
|
||||
order by a
|
||||
TTL timestamp + INTERVAL 2 SECOND WHERE a in (select a from temp);
|
||||
TTL timestamp + INTERVAL 2 SECOND WHERE a in (select number from system.numbers limit 100_000);
|
||||
|
||||
select sleep(1);
|
||||
insert into t_temp select rand(), now() from system.numbers limit 1_000_000;
|
||||
|
Loading…
Reference in New Issue
Block a user