Skip to content

Commit

Permalink
chore(ckh-source): updated ckh analytics source tables (#3397)
Browse files Browse the repository at this point in the history
Co-authored-by: Sampras lopes <[email protected]>
  • Loading branch information
ivor11 and lsampras authored Jan 24, 2024
1 parent 629d546 commit 3f343d3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/analytics/src/clickhouse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,11 @@ impl ToSql<ClickhouseClient> for PrimitiveDateTime {
impl ToSql<ClickhouseClient> for AnalyticsCollection {
fn to_sql(&self, _table_engine: &TableEngine) -> error_stack::Result<String, ParsingError> {
match self {
Self::Payment => Ok("payment_attempt_dist".to_string()),
Self::Refund => Ok("refund_dist".to_string()),
Self::SdkEvents => Ok("sdk_events_dist".to_string()),
Self::ApiEvents => Ok("api_audit_log".to_string()),
Self::PaymentIntent => Ok("payment_intents_dist".to_string()),
Self::Payment => Ok("payment_attempts".to_string()),
Self::Refund => Ok("refunds".to_string()),
Self::SdkEvents => Ok("sdk_events_audit".to_string()),
Self::ApiEvents => Ok("api_events_audit".to_string()),
Self::PaymentIntent => Ok("payment_intents".to_string()),
Self::ConnectorEvents => Ok("connector_events_audit".to_string()),
Self::OutgoingWebhookEvent => Ok("outgoing_webhook_events_audit".to_string()),
}
Expand Down

0 comments on commit 3f343d3

Please sign in to comment.