mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
fix(analytics): Updated frm clickhouse script for creating table (#5272)
Co-authored-by: vrishab.srivatsa] <vrishab.srivatsa@juspay.in>
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user