Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: add deleted groups #36

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# dbt_zendesk_source v0.8.2
## Bug Fixes
- Enable historical modeling: updated the `stg_zendesk__group` model to keep deleted groups. Added `is_deleted` tag to enable filtering in downstream models.
## Contributors
- [Estelle Wolski](https://github.com/EstelleBarnoud) ([#36](https://github.com/fivetran/dbt_zendesk_source/pull/36))

# dbt_zendesk_source v0.8.1
## Bug Fixes
- Updated the dbt-utils dispatch within the `stg_zendesk__ticket_schedule_tmp` model to properly dispatch `dbt` as opposed to `dbt_utils` for the cross-db-macros. ([#32](https://github.com/fivetran/dbt_zendesk_source/pull/32))
Expand Down
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config-version: 2
name: 'zendesk_source'
version: '0.8.1'
version: '0.8.2'
require-dbt-version: [">=1.3.0", "<2.0.0"]
models:
zendesk_source:
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
config-version: 2

name: 'zendesk_source_integration_tests'
version: '0.8.1'
version: '0.8.2'

profile: 'integration_tests'

Expand Down
4 changes: 2 additions & 2 deletions models/stg_zendesk__group.sql
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ final as (

select
id as group_id,
name
name,
_fivetran_deleted as is_deleted
from fields

where not coalesce(_fivetran_deleted, false)
)

select *
Expand Down