fix(analytics): Updated frm clickhouse script for creating table (#5272)

Co-authored-by: vrishab.srivatsa] <vrishab.srivatsa@juspay.in>
This commit is contained in:
Abhishek Kanojia
2024-07-11 00:33:47 +05:30
committed by GitHub
parent f8f69728b3
commit 545a6dbfc6
2 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ CREATE TABLE active_payments (
`merchant_id` String,
`created_at` DateTime64,
`flow_type` LowCardinality(Nullable(String)),
INDEX merchantIndex merchant_id TYPE bloom_filter GRANULARITY 1
INDEX merchantIndex merchant_id TYPE bloom_filter GRANULARITY 1,
INDEX flowTypeIndex flow_type TYPE bloom_filter GRANULARITY 1
) ENGINE = MergeTree
PARTITION BY toStartOfSecond(created_at)