Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(source-facebook-marketing): added fivetran dbt converter #55

Merged
merged 29 commits into from
Aug 31, 2024

Conversation

portalhacker
Copy link
Contributor

@portalhacker portalhacker commented Aug 22, 2024

resolves #10

✅ I moved the logic as much upstream as I could as seen in other issues, reducing the complexity.

⚠️ I likely have rare Postgresql syntax to wrap around a new macro to extract sublevel json text for BQ and SF.

Just want to make sure I am in the right direction and almost ready to merge.

@marcosmarxm
Copy link
Member

Thanks @FloDevelops I'm gonna review tomorrow and give feedback about the contribution. It looks Facebook uses the union macro to query staging tables.

@portalhacker
Copy link
Contributor Author

@marcosmarxm correct!
Fivetran's staging/source package unions multiple sources into temporary models.
These temporary models are then used to create the staging models.

To minimize the conversion while keeping the most functionalities, I rebuilt the temporary models with Airbyte sources.
This way, I am still using Fivetran's staging and analytical models.

@portalhacker
Copy link
Contributor Author

@marcosmarxm just added the /vars file for the CI

@marcosmarxm marcosmarxm changed the title Source Facebook Marketing: added dbt converter feat(source-facebook-marketing): added fivetran dbt converter Aug 29, 2024
Copy link
Member

@marcosmarxm marcosmarxm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are small details but the model looks good. Thanks @FloDevelops

@marcosmarxm marcosmarxm merged commit 6a97536 into airbytehq:main Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create dbt converter for Airbyte Facebook Marketing source connector
2 participants