mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(debit_routing): add debit_routing_savings in analytics payment attempt (#8519)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -44,6 +44,7 @@ CREATE TABLE payment_attempt_queue (
|
||||
`profile_id` String,
|
||||
`card_network` Nullable(String),
|
||||
`routing_approach` LowCardinality(Nullable(String)),
|
||||
`debit_routing_savings` Nullable(UInt32),
|
||||
`sign_flag` Int8
|
||||
) ENGINE = Kafka SETTINGS kafka_broker_list = 'kafka0:29092',
|
||||
kafka_topic_list = 'hyperswitch-payment-attempt-events',
|
||||
@ -98,6 +99,7 @@ CREATE TABLE payment_attempts (
|
||||
`profile_id` String,
|
||||
`card_network` Nullable(String),
|
||||
`routing_approach` LowCardinality(Nullable(String)),
|
||||
`debit_routing_savings` Nullable(UInt32),
|
||||
`sign_flag` Int8,
|
||||
INDEX connectorIndex connector TYPE bloom_filter GRANULARITY 1,
|
||||
INDEX paymentMethodIndex payment_method TYPE bloom_filter GRANULARITY 1,
|
||||
@ -155,6 +157,7 @@ CREATE MATERIALIZED VIEW payment_attempt_mv TO payment_attempts (
|
||||
`profile_id` String,
|
||||
`card_network` Nullable(String),
|
||||
`routing_approach` LowCardinality(Nullable(String)),
|
||||
`debit_routing_savings` Nullable(UInt32),
|
||||
`sign_flag` Int8
|
||||
) AS
|
||||
SELECT
|
||||
@ -204,6 +207,7 @@ SELECT
|
||||
profile_id,
|
||||
card_network,
|
||||
routing_approach,
|
||||
debit_routing_savings,
|
||||
sign_flag
|
||||
FROM
|
||||
payment_attempt_queue
|
||||
|
||||
Reference in New Issue
Block a user