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

schema_changelog incremental materialization #35

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

fivetran-jamie
Copy link
Contributor

Are you a current Fivetran customer?

no fivetran made PR, for TR

What change(s) does this PR introduce?

materializes the fivetran_log__schema_changelog model incrementally and adds relevant circle ci log data

Does this PR introduce a breaking change?

  • Yes (please provide breaking change details below.)
  • No (please provide explanation how the change is non breaking below.)

everything should run fine if/when this is merged

Is this PR in response to a previously created Issue

  • Yes, Issue [link issue number here]
  • No

How did you test the PR changes?

  • CircleCi
  • Other (please provide additional testing details below)

and locally on BQ

Select which warehouse(s) were used to test the PR

  • BigQuery
  • Redshift
  • Snowflake
  • Postgres
  • Databricks
  • Other (provide details below)

Provide an emoji that best describes your current mood

☁️

Feedback

We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.

@@ -20,7 +50,8 @@ add_connector_info as (
connector.destination_id,
connector.destination_name

from schema_changes join connector using(connector_id)
from schema_changes join
Copy link
Contributor Author

Choose a reason for hiding this comment

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

just changed this as using can be volatile sometimes (mostly just left joins on snowflake but let's be consistent)

Copy link
Contributor

@fivetran-reneeli fivetran-reneeli left a comment

Choose a reason for hiding this comment

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

Looks good! Good thought to change using to join

@fivetran-joemarkiewicz
Copy link
Contributor

Hi all,

Just wanted to provide an update here that this is currently a working and functional branch that properly adds incremental logic to the changelog. Currently the open issue #33 has not been closed and this PR has not been merged because there has not been enough interest into this feature.

If you would like this Feature added to a future release of this package, please comment below. Thanks!

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.

4 participants