fivetran-data-model-bot
released this
27 Aug 15:34
·
1 commit
to main
since this release
Upstream Breaking Changes
PR #12 from the upstream dbt_twitter_organic_source
package includes the following breaking change updates:
- The source defined in the
src_twitter_organic.yml
file has been renamed fromtwitter_organic
totwitter
to align with the default schema name used by the upstream Fivetran connector.- If you're referencing sources from this package, please update your source references as needed. See below for the full scope of source changes.
New Source Reference | Old Source Reference |
---|---|
"{{ source('twitter','account_history') }}" |
"{{ source('twitter_organic','account_history') }}" |
"{{ source('twitter','organic_tweet_report') }}" |
"{{ source('twitter_organic','organic_tweet_report') }}" |
"{{ source('twitter','tweet') }}" |
"{{ source('twitter_organic','tweet') }}" |
"{{ source('twitter','twitter_user_history') }}" |
"{{ source('twitter_organic','twitter_user_history') }}" |
- The default schema name has been modified from
twitter_organic
to now betwitter
to more closely align with the default schema name generated by the Fivetran connector. Please be aware if you were leveraging the previous default schema then you will need to update thetwitter_organic_schema
variable accordingly. - All identifier variables in the
src_twitter_organic.yml
file have been renamed. If you’re using any of these in your project, please update them accordingly. The changes include:- Prepending
twitter_organic_*
has been updated totwitter_*
to align with the schema change. - The spelling of
*_identifer
has been corrected to*_identifier
.
- Prepending
New Identifier Variable Name | Old Identifier Variable Name |
---|---|
twitter_account_history_identifier |
twitter_organic_account_history_identifer |
twitter_organic_tweet_report_identifier |
twitter_organic_organic_tweet_report_identifer |
twitter_tweet_identifier |
twitter_organic_tweet_identifer |
twitter_twitter_user_history_identifier |
twitter_organic_twitter_user_history_identifer |
Bug Fixes
- Updated the
is_most_recent_record
window function in the following models to exclude thesource_relation
field from the partition statement whentwitter_organic_union_schemas
ortwitter_organic_union_databases
variables are empty. Also, modified it to skip the window function if the upstream table is empty, using the newwindow_function_if_table_exists()
andis_table_empty()
macros. This change addresses Redshift's issue with partitioning by constant expressions. (PR #11)int_twitter_organic__latest_account
int_twitter_organic__latest_user
Under the Hood
- Included auto-releaser GitHub Actions workflow to automate future releases.
- Consistency validations for integration tests has been added for the
twitter_organic__tweets
model. (PR #11) - Renamed the seed files to allow for more testing functionality. (PR #11)
- Updated the maintainer PR, Issue, Feature Request, and Config templates to resemble the most up to date format. (PR #11)
- Incorporated the new
fivetran_utils.drop_schemas_automation
macro into the end of each Buildkite integration test job. (#7)
Full Changelog: v0.2.0...v0.3.0