Skip to content

Commit 091e642

Browse files
MagicBot/add-model-counts updates
1 parent fc762c0 commit 091e642

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# dbt_amazon_ads version.version
2+
3+
## Documentation
4+
- Added Quickstart model counts to README. ([#21](https://github.com/fivetran/dbt_amazon_ads/pull/21))
5+
- Corrected references to connectors and connections in the README. ([#21](https://github.com/fivetran/dbt_amazon_ads/pull/21))
6+
17
# dbt_amazon_ads v0.4.0
28
[PR #16](https://github.com/fivetran/dbt_amazon_ads/pull/16) includes the following updates:
39

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ The following table lists all tables that are materialized within this package b
3232
| [amazon_ads__keyword_report](https://fivetran.github.io/dbt_amazon_ads/#!/model/model.amazon_ads.amazon_ads__keyword_report) | Each record in this table represents the daily performance at the keyword level. |
3333
| [amazon_ads__ad_report](https://fivetran.github.io/dbt_amazon_ads/#!/model/model.amazon_ads.amazon_ads__ad_report) | Each record in this table represents the daily performance at the ad level.
3434

35+
### Materialized Models
36+
Each Quickstart transformation job run materializes 30 models if all components of this data model are enabled. This count includes all staging, intermediate, and final models materialized as `view`, `table`, or `incremental`.
3537
<!--section-end-->
3638

3739
## How do I use the dbt package?
3840
### Step 1: Prerequisites
3941
To use this dbt package, you must have the following:
4042

41-
- At least one Fivetran Amazon Ads connector syncing data into your destination.
43+
- At least one Fivetran Amazon Ads connection syncing data into your destination.
4244
- A **BigQuery**, **Snowflake**, **Redshift**, **PostgreSQL**, or **Databricks** destination.
4345

4446
#### Databricks Dispatch Configuration
@@ -71,7 +73,7 @@ vars:
7173
```
7274

7375
### Step 4: Disable models for non-existent sources
74-
Your Amazon Ads connector may not sync every table that this package expects. If you do not have the `PORTFOLIO_HISTORY` table synced, add the following variable to your root `dbt_project.yml` file:
76+
Your Amazon Ads connection may not sync every table that this package expects. If you do not have the `PORTFOLIO_HISTORY` table synced, add the following variable to your root `dbt_project.yml` file:
7577

7678
```yml
7779
vars:
@@ -81,8 +83,8 @@ vars:
8183
### (Optional) Step 5: Additional configurations
8284
<details open><summary>Expand/Collapse details</summary>
8385

84-
#### Union multiple connectors
85-
If you have multiple amazon_ads 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 `amazon_ads_union_schemas` OR `amazon_ads_union_databases` variables (cannot do both) in your root `dbt_project.yml` file:
86+
#### Union multiple connections
87+
If you have multiple amazon_ads connections 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 `amazon_ads_union_schemas` OR `amazon_ads_union_databases` variables (cannot do both) in your root `dbt_project.yml` file:
8688

8789
```yml
8890
vars:
@@ -130,7 +132,7 @@ models:
130132
```
131133

132134
#### Change the source table references
133-
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. This is not available when running the package on multiple unioned connectors.
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. This is not available when running the package on multiple unioned connections.
134136

135137
> IMPORTANT: See this project's [`dbt_project.yml`](https://github.com/fivetran/dbt_amazon_ads_source/blob/main/dbt_project.yml) variable declarations to see the expected names.
136138

0 commit comments

Comments
 (0)