Skip to content

Commit

Permalink
Merge pull request #8 from fivetran/bugix/account-deletes-removal
Browse files Browse the repository at this point in the history
Bugix/account deletes removal
  • Loading branch information
fivetran-reneeli authored May 19, 2022
2 parents 1a42b0d + 5e8a0db commit 9c9b62a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# dbt_sage_intacct_source v0.1.2

## Updates
- Removed the `_fivetran_deleted` filter in the `stg_sage_intacct__gl_account`. We saw there were records in the `gl_detail` table that were associated with accounts that were deleted, which affected our joins and bubbled up later in the final P&L and balance sheet models. By removing the filter the balances tie out. However, we've kept `_fivetran_deleted` as a column so the user may filter that out on their own.
([#8](https://github.com/fivetran/dbt_sage_intacct_source/pull/8))

# dbt_sage_intacct_source v0.1.1

## Updates
Expand Down
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'sage_intacct_source'
version: '0.1.1'
version: '0.1.2'
config-version: 2
require-dbt-version: [">=1.0.0", "<2.0.0"]

Expand Down
2 changes: 1 addition & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

name: 'sage_intacct_source_integration_tests'
version: '0.1.1'
version: '0.1.2'
config-version: 2

profile: 'integration_tests'
Expand Down
4 changes: 2 additions & 2 deletions models/stg_sage_intacct__gl_account.sql
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ final as (
from fields
)

select * from final
where not coalesce(_fivetran_deleted, false)
select *
from final

0 comments on commit 9c9b62a

Please sign in to comment.