i haven't come across an error yet, but i just realized we missed a spot where we need to add source_relation. so in the incremental model configs, we provide event_id as the unique key, but we should really be making a surrogate key hashed on event id and the source relation for proper merging and such.
Are you a current Fivetran customer?
fivetran made issue
Describe the bug
i haven't come across an error yet, but i just realized we missed a spot where we need to add
source_relation
. so in the incremental model configs, we provideevent_id
as the unique key, but we should really be making a surrogate key hashed on event id and the source relation for proper merging and such.https://github.com/fivetran/dbt_klaviyo/blob/main/models/intermediate/int_klaviyo__event_attribution.sql#L4
and
https://github.com/fivetran/dbt_klaviyo/blob/main/models/klaviyo__events.sql#L4
Please indicate the level of urgency
not super urgent i suppose, but it would be a very quick fix
Are you interested in contributing to this package?