-
Notifications
You must be signed in to change notification settings - Fork 2
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
introduce the hubspot engagement table to adjust the joins in int_hub… #13
base: main
Are you sure you want to change the base?
Changes from all commits
c3218b4
5b7920a
51a7484
ed1e205
2db9b0a
57a1017
0829812
938807b
b175bfe
f846b71
c8cd90a
ea23ba5
588d324
dda981c
2768c4d
e484cfd
528f43c
67cb540
67dff0d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
id,_fivetran_synced,active,activity_type,created_at,last_updated,owner_id,portal_id,timestamp,type | ||
19732910159,2023-11-02 13:50:33.715000 UTC,,,,,,4703379,,CALL | ||
19732728857,2023-11-02 13:50:34.157000 UTC,,,,,,4703379,,NOTE | ||
32034885640,2023-11-02 13:50:34.159000 UTC,,,,,,4703379,,NOTE | ||
32034887079,2023-11-02 13:50:34.160000 UTC,,,,,,4703379,,NOTE | ||
32034932747,2023-11-02 13:50:34.161000 UTC,,,,,,4703379,,NOTE | ||
32034933592,2023-11-02 13:50:34.161000 UTC,,,,,,4703379,,NOTE | ||
32083319945,2023-11-02 13:50:34.162000 UTC,,,,,,4703379,,NOTE | ||
27683507047,2023-11-02 13:50:34.157000 UTC,,,,,,4703379,,NOTE | ||
27683507372,2023-11-02 13:50:34.158000 UTC,,,,,,4703379,,NOTE | ||
27683512957,2023-11-02 13:50:34.158000 UTC,,,,,,4703379,,NOTE |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
company_id,engagement_id,engagement_type,type_id,_fivetran_synced | ||
9991774791,31479928586,EMAIL,194,2023-06-08 23:22:50.829000 | ||
2319384765,19732728857,NOTE,195,2023-06-08 23:22:50.829000 | ||
company_id,engagement_id,engagement_type,type_id,_fivetran_synced,category | ||
9991774791,31479928586,TASK,192,2023-06-08 23:22:50.829000,HUBSPOT_DEFINED |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
contact_id,engagement_id,engagement_type,type_id,_fivetran_synced | ||
501,19732910159,NOTE,195,2023-06-08 23:22:49.869000 | ||
76340251,31479928586,EMAIL,194,2023-06-08 23:22:49.869000 | ||
contact_id,engagement_id,engagement_type,type_id,_fivetran_synced,category | ||
501,19732910159,NOTE,195,2023-06-08 23:22:49.869000,HUBSPOT_DEFINED | ||
76340251,31479928586,EMAIL,194,2023-06-08 23:22:49.869000,HUBSPOT_DEFINED |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
deal_id,engagement_id,engagement_type,type_id,_fivetran_synced | ||
10828857779,31479928586,EMAIL,216,2023-06-08 23:22:50.768000 | ||
10828857779,19732728857,NOTE,216,2023-06-08 23:22:50.768000 | ||
deal_id,engagement_id,engagement_type,type_id,_fivetran_synced,category | ||
10828857779,31479928586,EMAIL,216,2023-06-08 23:22:50.768000,HUBSPOT_DEFINED | ||
10828857779,19732728857,NOTE,216,2023-06-08 23:22:50.768000,HUBSPOT_DEFINED |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
id,_fivetran_synced,author_id,body,created,is_public,issue_id,update_author_id,updated | ||
1,2020-11-12 12:20:53.148,1a,Hello,2020-11-10 19:19:41.224,true,10011,1a,2020-11-10 19:19:41.224 | ||
1,2020-11-12 12:20:53.148,1a,The quick brown fox jumps over the lazy dog. This sentence uses every letter in the English alphabet. It is often used as a typing practice sentence. Repetition of this sentence will ensure a consistent length. The quick brown fox jumps over the lazy dog. This sentence uses every letter in the English alphabet. It is often used as a typing practice sentence. Repetition of this sentence will ensure a consistent length. The quick brown fox jumps over the lazy dog. This sentence uses every letter in the English alphabet. It is often used as a typing practice sentence. Repetition of this sentence will ensure a consistent length. The quick brown fox jumps over the lazy dog. This sentence uses every letter in the English alphabet. It is often used as a typing practice sentence. Repetition of this sentence will ensure a consistent length. The quick brown fox jumps over the lazy dog. This sentence uses every letter in the English alphabet. It is often used as a typing practice sentence.,2020-11-10 19:19:41.224,true,10011,1a,2020-11-10 19:19:41.224 | ||
2,2020-11-10 19:21:48.619,1a,To Do to In Progress 6 days 22 hours 26 minutes ago In Progress to Done 3 days 16 hours 34 minutes ago,2020-11-07 02:45:38.717,true,10011,1a,2020-11-07 02:45:38.717 | ||
3,2020-11-10 19:21:48.618,1a,Joined Sample Sprint 2 7 days 9 hours 10 minutes ago,2020-11-07 02:45:38.717,true,10011,1a,2020-11-07 02:45:38.717 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% macro get_hubspot_engagement_columns() %} | ||
|
||
{% set columns = [ | ||
{"name": "_fivetran_synced", "datatype": dbt.type_timestamp()}, | ||
{"name": "active", "datatype": "boolean", "alias": "is_active"}, | ||
{"name": "created_at", "datatype": dbt.type_timestamp(), "alias": "created_timestamp"}, | ||
{"name": "id", "datatype": dbt.type_int()}, | ||
{"name": "owner_id", "datatype": dbt.type_int()}, | ||
{"name": "portal_id", "datatype": dbt.type_int()}, | ||
{"name": "timestamp", "datatype": dbt.type_timestamp(), "alias": "occurred_timestamp"}, | ||
{"name": "type", "datatype": dbt.type_string(), "alias": "engagement_type"} | ||
] %} | ||
|
||
{{ return(columns) }} | ||
|
||
{% endmacro %} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually I realized that now that
in order to grab There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. update-- have since removed the previous |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small suggestion update.