fivetran / fivetran/dbt_iterable

[Open investigation] Understanding best way to set up joins in to prevent test failures in `iterable__campaigns`

Open
#35 1 comment 1 reaction 0 assignees View on GitHub
help wanted
Dominant language
No language data
Stars
4
Forks
6
Avg merge
4d 22h
Merged PRs (30d)
1

Description

### Is there an existing feature request for this?

- [X] I have searched the existing issues

### Describe the Feature

Our current development data is returning test failures in the `iterable__campaigns` end models because of fan outs due to the way these joins are currently set up.

These campaign ids are recurring campaign ids, which is the grain of `iterable_campaigns`.

Examining those cases, the issue appears to be that for these recurring_campaign_ids, there are multiple campaign_ids associated with them, leading to fan-out in joins in `int_iterable__recurring_campaigns` .

However none of that campaign id data is brought into `iterable_campaigns`, so it leads to a bunch of duplicate rows.

**If you've encountered these test issues as well, we'd love to get input from you about what would be the best way to set up our joins so we can avoid these fan outs!**

### Describe alternatives you've considered

_No response_

### Are you interested in contributing this feature?

- [X] Yes.
- [ ] Yes, but I will need assistance and will schedule time during your [office hours](https://calendly.com/fivetran-solutions-team/fivetran-solutions-team-office-hours) for guidance.
- [ ] No.

### Anything else?

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.