You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,11 @@
1
-
# dbt_app_reporting v0.UPDATE.UPDATE
1
+
# dbt_app_reporting v0.3.0
2
2
3
-
## Under the Hood:
3
+
## Bug Fixes:
4
+
[PR #14](https://github.com/fivetran/dbt_app_reporting/pull/14) includes the following changes:
5
+
- This version of the transform package points to breaking changes in the upstream [Google Play](https://github.com/fivetran/dbt_google_play_source/blob/main/CHANGELOG.md) and [Apple Store](https://github.com/fivetran/dbt_apple_store_source/blob/main/CHANGELOG.md) source packages in which the [country code](https://github.com/fivetran/dbt_apple_store_source/blob/main/seeds/apple_store_country_codes.csv) mapping tables were updated to align with Apple's [format and inclusion list](https://developer.apple.com/help/app-store-connect/reference/app-store-localizations/) of country names.
6
+
- This is a 🚨**breaking change**🚨 as you will need to re-seed (`dbt seed --full-refresh`) the `google_play__country_codes`[file](https://github.com/fivetran/dbt_google_play_source/blob/main/seeds/google_play__country_codes.csv) and `apple_store_country_codes`[file](https://github.com/fivetran/dbt_google_play_source/blob/main/seeds/apple_store_country_codes.csv) again.
4
7
8
+
## Under the Hood:
5
9
- Incorporated the new `fivetran_utils.drop_schemas_automation` macro into the end of each Buildkite integration test job.
Copy file name to clipboardexpand all lines: README.md
+14-8
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Include the following github package version in your `packages.yml`
45
45
```yaml
46
46
packages:
47
47
- package: fivetran/app_reporting
48
-
version: [">=0.2.0", "<0.3.0"] # we recommend using ranges to capture non-breaking changes automatically
48
+
version: [">=0.3.0", "<0.4.0"] # we recommend using ranges to capture non-breaking changes automatically
49
49
```
50
50
51
51
Do NOT include the individual app platform packages in this file. The app reporting package itself has dependencies on these packages and will install them as well.
@@ -86,7 +86,13 @@ vars:
86
86
87
87
> 👀 Subscriptions and financial data are NOT included in `app_reporting` data models. This data is leveraged in the individual Google Play and Apple App Store packages, which are installed within the App Reporting package.
In order to map longform territory names to their ISO country codes, we have adapted the CSV from [lukes/ISO-3166-Countries-with-Regional-Codes](https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes) to align Google and [Apple's](https://developer.apple.com/help/app-store-connect/reference/app-store-localizations/) country name formats for the App Reporting package.
92
+
93
+
You will need to `dbt seed` the `google_play__country_codes` [file](https://github.com/fivetran/dbt_google_play_source/blob/main/seeds/google_play__country_codes.csv) and `apple_store_country_codes` [file](https://github.com/fivetran/dbt_google_play_source/blob/main/seeds/apple_store_country_codes.csv) just once.
94
+
95
+
## (Recommended) Step 6: Change the Build Schema
90
96
By default this package will build all models in your `<target_schema>` with the respective package suffixes (see below). This behavior can be tailored to your preference by making use of custom schemas. If you would like to override the current naming conventions, please add the following configuration to your `dbt_project.yml` file and rename `+schema` configs:
91
97
92
98
```yml
@@ -107,7 +113,7 @@ models:
107
113
108
114
> Provide a blank `+schema: ` to write to the `target_schema` without any suffix.
109
115
110
-
## (Optional) Step 6: Additional configurations
116
+
## (Optional) Step 7: Additional configurations
111
117
<details><summary>Expand to view configurations</summary>
112
118
113
119
### Change the source table references
@@ -122,7 +128,7 @@ vars:
122
128
</details>
123
129
<br>
124
130
125
-
## (Optional) Step 7: Orchestrate your models with Fivetran Transformations for dbt Core™
131
+
## (Optional) Step 8: Orchestrate your models with Fivetran Transformations for dbt Core™
126
132
<details><summary>Expand to view details</summary>
127
133
<br>
128
134
@@ -137,16 +143,16 @@ This dbt package is dependent on the following dbt packages. For more informatio
0 commit comments