Skip to content

Commit d517fb0

Browse files
Merge pull request #88 from fivetran/release/v0.8.2
Release/v0.8.2
2 parents 999d8d9 + 2d777f1 commit d517fb0

File tree

5 files changed

+22
-12
lines changed

5 files changed

+22
-12
lines changed

CHANGELOG.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
# dbt_salesforce_formula_utils v0.UPDATE.UPDATE
1+
# dbt_salesforce_formula_utils v0.8.2
2+
## Features
3+
- Clarify Step 5 of the README that `sfdc_exclude_formulas` works only with Options 2 and 3. ([#88](https://github.com/fivetran/dbt_salesforce_formula_utils/pull/88))
4+
5+
## Under the Hood:
6+
- Renamed macro filename from `sfdc_current_formula_fields` to `sfdc_current_formula_values` to be consistent with its macro name. ([#86](https://github.com/fivetran/dbt_salesforce_formula_utils/pull/86))
7+
- Incorporated the new `fivetran_utils.drop_schemas_automation` macro into the end of each Buildkite integration test job. ([#82](https://github.com/fivetran/dbt_salesforce_formula_utils/pull/82))
8+
- Updated the pull request [templates](/.github). ([#82](https://github.com/fivetran/dbt_salesforce_formula_utils/pull/82))
29

3-
## Under the Hood:
10+
## Contributors:
11+
- [@duncan771](https://github.com/duncan771) ([#86](https://github.com/fivetran/dbt_salesforce_formula_utils/pull/86))
412

5-
- Incorporated the new `fivetran_utils.drop_schemas_automation` macro into the end of each Buildkite integration test job.
6-
- Updated the pull request [templates](/.github).
713
# dbt_salesforce_formula_utils v0.8.1
814

915
## Features

README.md

+10-6
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,19 @@ source dbt_modules/salesforce_formula_utils/sfdc_formula_model_automation.sh "..
114114

115115
> Note: In order for this command to work, you must currently be within the root directory of your dbt project.
116116

117-
## Step 5: Exclude problematic formula fields
118-
The `sfdc_formula_view` macro has been created to support double-nested formula field references for most cases using Option #1, however, never if using Options #2 or #3. For example:
119-
- :white_check_mark: : A formula field references standard fields from the base Salesforce table.
120-
- :white_check_mark: : A formula field references another formula field that does **not** reference other formula fields.
117+
## Step 5: Exclude problematic formula fields (for Option #2 or #3)
118+
The `sfdc_formula_view` macro supports double-nested formula field references for most cases using Option #1, however, it does not support Options #2 or #3.
121119

122-
The `sfdc_formula_view` macro may be able to support some cases of n-nested formula field references if using Option #1 above, however, never if using Options #2 or #3. For example:
120+
For example:
121+
- : A formula field references standard fields from the base Salesforce table.
122+
- : A formula field references another formula field that does **not** reference other formula fields.
123+
124+
The `sfdc_formula_view` macro may support some cases of n-nested formula field references using Option #1, however, it does not support Options #2 or #3.
125+
126+
For example:
123127
- 🚧 : A formula field references another formula field that references another formula field (and so on...).
124128

125-
If you have a formula field that is double-nested or is otherwise not compiling, exclude it from all your models by setting the `sfdc_exclude_formulas` variable within your root `dbt_project.yml` file. Configure this variable as a set of all the fields you would like to exclude from all models. See below for an example:
129+
When using Options #2 or #3 with a formula field that is double-nested or is otherwise not compiling, exclude it from all your models by setting the `sfdc_exclude_formulas` variable within your root `dbt_project.yml` file. Configure this variable as a set of all the fields you would like to exclude from all models. This is for Options #2 or #3 only and will *not* work with Option 1. See below for an example:
126130
```yml
127131
vars:
128132
sfdc_exclude_formulas: ('field_that_references_other_formula','other_triple_ref_field','field_i_just_dont_want')

dbt_project.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name: 'salesforce_formula_utils'
2-
version: '0.8.1'
2+
version: '0.8.2'
33
config-version: 2
44
require-dbt-version: [">=1.3.0", "<2.0.0"]

integration_tests/dbt_project.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'salesforce_formula_integration_tests'
2-
version: '0.8.1'
2+
version: '0.8.2'
33
profile: 'integration_tests'
44
config-version: 2
55
vars:
File renamed without changes.

0 commit comments

Comments
 (0)