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
+16
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,19 @@
1
+
# dbt_app_reporting v0.4.0
2
+
[PR #21](https://github.com/fivetran/dbt_app_reporting/pull/21) includes the following updates:
3
+
4
+
## 🚨 Breaking hanges 🚨
5
+
- Identifier variables for the following packages have been updated for consistency with the source name and compatibility with the union schema feature. See the package's changelog for a full list of changes.
- Unioning capability! This adds the ability to union source data from multiple app_reporting connectors. Refer to the [README](https://github.com/fivetran/dbt_app_reporting/blob/main/README.md#union-multiple-connectors) for more details.
11
+
- Added a `source_relation` column in each upstream model for tracking the source of each record.
12
+
- The `source_relation` column is also persisted from the upstream models to the end models.
13
+
14
+
## Under the hood
15
+
- Included auto-releaser GitHub Actions workflow to automate future releases.
16
+
1
17
# dbt_app_reporting v0.3.2
2
18
## Bug Fixes
3
19
[PR #19](https://github.com/fivetran/dbt_app_reporting/pull/19) includes the following update:
Copy file name to clipboardexpand all lines: README.md
+23-7
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.3.0", "<0.4.0"] # we recommend using ranges to capture non-breaking changes automatically
48
+
version: [">=0.4.0", "<0.5.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.
@@ -114,15 +114,31 @@ models:
114
114
> Provide a blank `+schema: ` to write to the `target_schema` without any suffix.
115
115
116
116
## (Optional) Step 7: Additional configurations
117
-
<details><summary>Expand to view configurations</summary>
If you have multiple app reporting connectors in Fivetran and would like to use this package on all of them simultaneously, we have provided functionality to do so. The package will union all of the data together and pass the unioned table into the transformations. You will be able to see which source it came from in the `source_relation` column of each model. To use this functionality, you will need to set either the `<package_name>_union_schemas` OR `<package_name>_union_databases` variables (cannot do both) in your root `dbt_project.yml` file. Below are the variables and examples for each connector:
Please be aware that the native `source.yml` connection set up in the package will not function when the union schema/database feature is utilized. Although the data will be correctly combined, you will not observe the sources linked to the package models in the Directed Acyclic Graph (DAG). This happens because the package includes only one defined `source.yml`.
131
+
132
+
To connect your multiple schema/database sources to the package models, follow the steps outlined in the [Union Data Defined Sources Configuration](https://github.com/fivetran/dbt_fivetran_utils/tree/releases/v0.4.latest#union_data-source) section of the Fivetran Utils documentation for the union_data macro. This will ensure a proper configuration and correct visualization of connections in the DAG.
118
133
119
134
### Change the source table references
120
135
If an individual source table has a different name than the package expects, add the table name as it appears in your destination to the respective variable:
121
136
> IMPORTANT: See the Apple Store [`dbt_project.yml`](https://github.com/fivetran/dbt_apple_store_source/blob/main/dbt_project.yml) and Google Play [`dbt_project.yml`](https://github.com/fivetran/dbt_google_play_source/blob/main/dbt_project.yml) variable declarations to see the expected names.
0 commit comments