mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Fix test
This commit is contained in:
parent
54aeb8fcff
commit
dbbe761fa1
@ -1,6 +1,6 @@
|
||||
1 32
|
||||
2 0
|
||||
CREATE TABLE default.table_with_column_ttl\n(\n `EventTime` DateTime,\n `UserID` UInt64,\n `Age` UInt8\n)\nENGINE = MergeTree\nORDER BY tuple()\nSETTINGS index_granularity = 8192
|
||||
CREATE TABLE default.table_with_column_ttl\n(\n `EventTime` DateTime,\n `UserID` UInt64,\n `Age` UInt8\n)\nENGINE = MergeTree\nORDER BY tuple()\nSETTINGS min_bytes_for_wide_part = 0, index_granularity = 8192
|
||||
1 32
|
||||
2 0
|
||||
3 27
|
||||
|
@ -6,7 +6,8 @@ CREATE TABLE table_with_column_ttl
|
||||
Age UInt8 TTL EventTime + INTERVAL 3 MONTH
|
||||
)
|
||||
ENGINE MergeTree()
|
||||
ORDER BY tuple();
|
||||
ORDER BY tuple()
|
||||
SETTINGS min_bytes_for_wide_part = 0; -- column TTL doesn't work for compact parts
|
||||
|
||||
INSERT INTO table_with_column_ttl VALUES (now(), 1, 32);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user