Releases: fivetran/dbt_google_play_source
Release list
v0.5.0 dbt_google_play_source
PR #20 includes the following updates:
Breaking Change for dbt Core < 1.9.6
Note: This is not relevant to Fivetran Quickstart users.
Migratedfreshnessfrom a top-level source property to a sourceconfigin alignment with recent updates from dbt Core. This will resolve the following deprecation warning that users running dbt >= 1.9.6 may have received:
[WARNING]: Deprecated functionality
Found `freshness` as a top-level property of `google_play` in file
`models/src_google_play.yml`. The `freshness` top-level property should be moved
into the `config` of `google_play`.
IMPORTANT: Users running dbt Core < 1.9.6 will not be able to utilize freshness tests in this release or any subsequent releases, as older versions of dbt will not recognize freshness as a source config and therefore not run the tests.
If you are using dbt Core < 1.9.6 and want to continue running Google Play freshness tests, please elect one of the following options:
- (Recommended) Upgrade to dbt Core >= 1.9.6
- Do not upgrade your installed version of the
google_play_sourcepackage. Pin your dependency on v0.4.0 in yourpackages.ymlfile. - Utilize a dbt override to overwrite the package's
google_playsource and apply freshness via the previous release top-level property route. This will require you to copy and paste the entirety of the previous releasesrc_google_play.ymlfile and add anoverrides: google_play_sourceproperty.
Documentation
- Corrected references to connectors and connections in the README. (#17)
Under the Hood
- Updates to ensure integration tests use latest version of dbt.
Full Changelog: v0.4.0...v0.5.0
v0.4.0 dbt_google_play_source
PR #14 includes the following updates:
🚨 Breaking Changes 🚨
- Updated the source identifier format for consistency with other packages and for compatibility with the
fivetran_utils.union_datamacro. The identifier variables now are:
| previous | current |
|---|---|
stats_installs_app_version_identifier |
google_play_stats_installs_app_version_identifier |
stats_crashes_app_version_identifier |
google_play_stats_crashes_app_version_identifier |
stats_ratings_app_version_identifier |
google_play_stats_ratings_app_version_identifier |
stats_installs_device_identifier |
google_play_stats_installs_device_identifier |
stats_ratings_device_identifier |
google_play_stats_ratings_device_identifier |
stats_installs_os_version_identifier |
google_play_stats_installs_os_version_identifier |
stats_ratings_os_version_identifier |
google_play_stats_ratings_os_version_identifier |
stats_crashes_os_version_identifier |
google_play_stats_crashes_os_version_identifier |
stats_installs_country_identifier |
google_play_stats_installs_country_identifier |
stats_ratings_country_identifier |
google_play_stats_ratings_country_identifier |
stats_store_performance_country_identifier |
google_play_stats_store_performance_country_identifier |
stats_store_performance_traffic_source_identifier |
google_play_stats_store_performance_traffic_source_identifier |
stats_installs_overview_identifier |
google_play_stats_installs_overview_identifier |
stats_crashes_overview_identifier |
google_play_stats_crashes_overview_identifier |
stats_ratings_overview_identifier |
google_play_stats_ratings_overview_identifier |
earnings_identifier |
google_play_earnings_identifier |
financial_stats_subscriptions_country_identifier |
google_play_financial_stats_subscriptions_country_identifier |
- If you are using the previous identifier, be sure to update to the current version!
Feature update 🎉
- Unioning capability! This adds the ability to union source data from multiple google_play connectors. Refer to the README for more details.
- Added a
source_relationcolumn in each staging model for tracking the source of each record. - Updated tests to account for the new
source_relationcolumn. - Added casting to staging columns that are used in any downstream COALESCEs, UNIONs, or JOINs to prevent datatype conflicts.
- Metric fields, such as
crashes,*_installs,*_subscriptions, etc., are now cast as the datatype determined by thedbt.type_bigint()macro for your warehouse.
- Metric fields, such as
Under the hood 🚘
- Updated tmp models to union source data using the
fivetran_utils.union_datamacro. - Applied the
fivetran_utils.source_relationmacro in each staging model to determine thesource_relation. - Updated
src_apple_store.ymlto use the current method to enable/disable sources. - Included auto-releaser GitHub Actions workflow to automate future releases.
Full Changelog: v0.3.1...v0.4.0
v0.3.1 dbt_google_play_source
PR #12 includes the following updates:
🪲 Bug fixes:
- Updated staging models to cast
date_daycolumns to thedatedatatype. This prevents downstream datatype conflicts when joining on these columns.
Contributors
Full Changelog: v0.3.0...v0.3.1
v0.3.0 dbt_google_play_source
🚨 Breaking Changes 🚨:
PR #11 includes the following changes:
- Updated the country code mapping table to align with Apple's format and inclusion list of country names. This was change was made in parallel with the Apple App Store dbt package in order to maintain parity for proper aggregating in the combo App Reporting package.
- This is a 🚨breaking change🚨 as you will need to re-seed (
dbt seed --full-refresh) thegoogle_play__country_codesfile again.
- This is a 🚨breaking change🚨 as you will need to re-seed (
Under the Hood:
- Documented the
google_play__country_codesseed file in yml (PR #11). - Incorporated the new
fivetran_utils.drop_schemas_automationmacro into the end of each Buildkite integration test job (PR #10). - Updated the pull request templates (PR #10).
Full Changelog: v0.2.0...v0.3.0
Upstream package releases:
dbt_google_play_source v0.2.0
🚨 Breaking Changes 🚨:
PR #9 includes the following breaking changes:
- Dispatch update for dbt-utils to dbt-core cross-db macros migration. Specifically
{{ dbt_utils.<macro> }}have been updated to{{ dbt.<macro> }}for the below macros:any_valuebool_orcast_bool_to_textconcatdate_truncdateadddatediffescape_single_quotesexcepthashintersectlast_daylengthlistaggpositionreplacerightsafe_castsplit_partstring_literaltype_biginttype_floattype_inttype_numerictype_stringtype_timestamparray_appendarray_concatarray_construct
- For
current_timestampandcurrent_timestamp_in_utcmacros, the dispatch AND the macro names have been updated to the below, respectively:dbt.current_timestamp_backcompatdbt.current_timestamp_in_utc_backcompat
dbt_utils.surrogate_keyhas also been updated todbt_utils.generate_surrogate_key. Since the method for creating surrogate keys differ, we suggest all users do afull-refreshfor the most accurate data. For more information, please refer to dbt-utils release notes for this update.packages.ymlhas been updated to reflect new defaultfivetran/fivetran_utilsversion, previously[">=0.3.0", "<0.4.0"]now[">=0.4.0", "<0.5.0"].
dbt_google_play_source v0.1.1
Happy Monday and start to the week 🏃♀️
This release of the dbt_google_play_source package includes the following updates:
Fixes
- Fix casting issue with daily_average_rating (#8)
Contributors
Full Changelog: v0.1.0...v0.1.1
Initial Release
Initial Release
This is the initial release of this package.
What does this dbt package do?
- Cleans, tests, and prepares your Google Play data from Fivetran's connector for analysis.
- Generates a comprehensive data dictionary of your Google Play data via the dbt docs site
- Materializes staging tables which leverage data in the format described here and is intended to work simultaneously with our Google Play modeling package
- Refer to our Docs site for more details about these materialized models.
For more information refer to the README.