From 2ea84064442e9889ee1b30aa878f9475457139ad Mon Sep 17 00:00:00 2001 From: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com> Date: Tue, 7 Jan 2025 17:17:25 -0600 Subject: [PATCH] MagicBot/add-model-counts updates --- CHANGELOG.md | 6 ++++++ README.md | 8 +++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5062b1..eeaf66a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# dbt_xero version.version + +## Documentation +- Added Quickstart model counts to README. ([#52](https://github.com/fivetran/dbt_xero/pull/52)) +- Corrected references to connectors and connections in the README. ([#52](https://github.com/fivetran/dbt_xero/pull/52)) + # dbt_xero v0.6.2 [PR #46](https://github.com/fivetran/dbt_xero/pull/46) includes the following updates: diff --git a/README.md b/README.md index c051639..038976d 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ The following table provides a detailed list of all tables materialized within t | [xero__balance_sheet_report](https://github.com/fivetran/dbt_xero/blob/main/models/xero__balance_sheet_report.sql) | Each record represents the state of the balance sheet for a given account on a given month. | | [xero__invoice_line_items](https://github.com/fivetran/dbt_xero/blob/main/models/xero__invoice_line_items.sql) | Each record represents an invoice line item enriched with the account, contact, and invoice information. | +### Materialized Models +Each Quickstart transformation job run materializes 22 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`. ## How do I use the dbt package? @@ -35,7 +37,7 @@ The following table provides a detailed list of all tables materialized within t ### Step 1: Prerequisites To use this dbt package, you must have the following: -- At least one Fivetran Xero connector syncing data into your destination. +- At least one Fivetran Xero connection syncing data into your destination. - A **BigQuery**, **Snowflake**, **Redshift**, **PostgreSQL**, or **Databricks** destination. ### Step 2: Install the package @@ -63,8 +65,8 @@ vars: If you are using multi-currency accounting in Xero, you are likely to have unrealized currency gains as part of your profit and loss statement. These gains/losses do not exist within the actual journals in Xero. As a result, you will find that those lines are missing from the outputs of this package. All realised currency gains will be present and your balance sheet will still balance. -#### Unioning Multiple Xero Connectors -If you have multiple Xero 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** (**note that you cannot use both**) the `union_schemas` or `union_databases` variables: +#### Unioning Multiple Xero Connections +If you have multiple Xero 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** (**note that you cannot use both**) the `union_schemas` or `union_databases` variables: ```yml # dbt_project.yml