mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Merge 79ecd1c262
into 44b4bd38b9
This commit is contained in:
commit
3612bc16a0
@ -9,7 +9,7 @@ CREATE TABLE url_na_log
|
|||||||
ENGINE = MergeTree
|
ENGINE = MergeTree
|
||||||
PRIMARY KEY SiteId
|
PRIMARY KEY SiteId
|
||||||
ORDER BY (SiteId, DateVisit)
|
ORDER BY (SiteId, DateVisit)
|
||||||
SETTINGS index_granularity = 1000, min_bytes_for_wide_part = 0;
|
SETTINGS index_granularity_bytes = 1000000, index_granularity = 1000, min_bytes_for_wide_part = 0;
|
||||||
|
|
||||||
CREATE ROW POLICY url_na_log_policy0 ON url_na_log FOR SELECT USING (DateVisit < '2022-08-11') OR (DateVisit > '2022-08-19') TO default;
|
CREATE ROW POLICY url_na_log_policy0 ON url_na_log FOR SELECT USING (DateVisit < '2022-08-11') OR (DateVisit > '2022-08-19') TO default;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user