Skip to content

Commit b588627

Browse files
Merge pull request #21 from fivetran/feature/add_fivetran_id
Feature/add fivetran
2 parents 53843b7 + cc89f4a commit b588627

22 files changed

+91
-47
lines changed

.buildkite/scripts/run_models.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ echo `pwd`
1717
cd integration_tests
1818
dbt deps
1919
dbt seed --target "$db" --full-refresh
20+
dbt compile --target "$db"
2021
dbt run --target "$db" --full-refresh
2122
dbt test --target "$db"

CHANGELOG.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,27 @@
1+
# dbt_pendo_source v0.5.0
2+
PR [#21](https://github.com/fivetran/dbt_pendo_source/pull/21) includes the following updates:
3+
## 🚨 Breaking Changes 🚨:
4+
- Updated the following models to include the new `_fivetran_id` field, which was recently added per the Fivetran Pendo Connector's [March 2023 release notes](https://fivetran.com/docs/applications/pendo/changelog#march2023):
5+
- `stg_pendo__guide_event`
6+
- `stg_pendo__poll_event`
7+
- `stg_pendo__event`
8+
- `_fivetran_id` has also been added to the hashing formula used in the following fields:
9+
- `event_key` in `stg_pendo__guide_event`
10+
- `guide_event_key` in `stg_pendo__poll_event`
11+
- `poll_event_key` in `stg_pendo__event`
12+
- These breaking changes persist to the transform package. (See the [Transform CHANGELOG](https://github.com/fivetran/dbt_pendo_source/blob/main/CHANGELOG.md) for more details.)
13+
14+
## Features
15+
- Updated documentation for new `_fivetran_id` field.
16+
117
# dbt_pendo_source v0.4.0
218

319
## 🚨 Breaking Changes 🚨:
420
## 🔧 Bug Fixes
5-
- Updated models `stg_pendo__feature_event` and `stg_pendo__page_event` to include `_fivetran_id`, which was recently added per the Fivetran Pendo Connector's [release notes](https://fivetran.com/docs/applications/pendo/changelog#december2022). ([#19](https://github.com/fivetran/dbt_pendo_source/pull/19))
21+
- Updated models `stg_pendo__feature_event` and `stg_pendo__page_event` to include `_fivetran_id`, which was recently added per the Fivetran Pendo Connector's [December 2022 release notes](https://fivetran.com/docs/applications/pendo/changelog#december2022). ([#19](https://github.com/fivetran/dbt_pendo_source/pull/19))
22+
- `_fivetran_id` has also been added to the hashing formula used in the following fields:
23+
- `feature_event_key` in `stg_pendo__feature_event`
24+
- `page_event_key` in `stg_page__event`
625

726
## ✨ Features
827
- Update documentation for `_fivetran_id`. ([#19](https://github.com/fivetran/dbt_pendo_source/pull/19))

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Include the following pendo_source package version in your `packages.yml` file.
3838
```yaml
3939
packages:
4040
- package: fivetran/pendo_source
41-
version: [">=0.4.0", "<0.5.0"]
41+
version: [">=0.5.0", "<0.6.0"]
4242
```
4343

4444
## Step 3: Define database and schema variables

dbt_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
config-version: 2
22
name: 'pendo_source'
3-
version: '0.4.0'
3+
version: '0.5.0'
44
require-dbt-version: [">=1.3.0", "<2.0.0"]
55
models:
66
pendo_source:

docs/catalog.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/manifest.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/run_results.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

integration_tests/dbt_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
config-version: 2
22

33
name: 'pendo_source_integration_tests'
4-
version: '0.4.0'
4+
version: '0.5.0'
55

66
profile: 'integration_tests'
77

integration_tests/seeds/event.csv

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
account_id,remote_ip,server_name,timestamp,user_agent,visitor_id,_fivetran_synced,app_id,num_events,num_minutes,page_id
2-
month_train,2804:18:8b7:a18:1:0:d9e8:45d5,fivetran.com,2021-07-28 11:00:00,Mozilla/5.0 (Android 10; Mobile; rv:90.0) Gecko/90.0 Firefox/90.0,psychosis_skeptical,2021-07-28 20:14:19.861,-323232,21,4,allevents
3-
1sk7ccaeau_acc,37.19.197.209,fivetran.com,2021-07-18 14:00:00,Mozilla/5.0 (Android 11; Mobile; rv:89.0) Gecko/89.0 Firefox/89.0,do_over,2021-07-18 20:10:36.803,-323232,12,2,allevents
4-
billy_idol,97.118.51.167,fivetran.com,2021-07-21 04:00:00,Mozilla/5.0 (Android 11; Mobile; rv:90.0) Gecko/90.0 Firefox/90.0,foots_stool,2021-07-21 08:17:20.908,-323232,16,3,allevents
5-
good_day,97.118.51.167,fivetran.com,2021-07-21 02:00:00,Mozilla/5.0 (Android 11; Mobile; rv:90.0) Gecko/90.0 Firefox/90.0,foots_stool,2021-07-21 08:17:20.908,-323232,1,1,allevents
6-
white_wedding,97.118.51.167,fivetran.com,2021-07-22 12:00:00,Mozilla/5.0 (Android 11; Mobile; rv:90.0) Gecko/90.0 Firefox/90.0,foots_stool,2021-07-22 20:12:27.583,-323232,4,2,allevents
1+
account_id,remote_ip,server_name,timestamp,user_agent,visitor_id,_fivetran_synced,app_id,num_events,num_minutes,page_id,_fivetran_id
2+
month_train,2804:18:8b7:a18:1:0:d9e8:45d5,fivetran.com,2021-07-28 11:00:00,Mozilla/5.0 (Android 10; Mobile; rv:90.0) Gecko/90.0 Firefox/90.0,psychosis_skeptical,2021-07-28 20:14:19.861,-323232,21,4,allevents,
3+
1sk7ccaeau_acc,37.19.197.209,fivetran.com,2021-07-18 14:00:00,Mozilla/5.0 (Android 11; Mobile; rv:89.0) Gecko/89.0 Firefox/89.0,do_over,2021-07-18 20:10:36.803,-323232,12,2,allevents,
4+
billy_idol,97.118.51.167,fivetran.com,2021-07-21 04:00:00,Mozilla/5.0 (Android 11; Mobile; rv:90.0) Gecko/90.0 Firefox/90.0,foots_stool,2021-07-21 08:17:20.908,-323232,16,3,allevents,
5+
good_day,97.118.51.167,fivetran.com,2021-07-21 02:00:00,Mozilla/5.0 (Android 11; Mobile; rv:90.0) Gecko/90.0 Firefox/90.0,foots_stool,2021-07-21 08:17:20.908,-323232,1,1,allevents,
6+
white_wedding,97.118.51.167,fivetran.com,2021-07-22 12:00:00,Mozilla/5.0 (Android 11; Mobile; rv:90.0) Gecko/90.0 Firefox/90.0,foots_stool,2021-07-22 20:12:27.583,-323232,4,2,allevents,

0 commit comments

Comments
 (0)