diff --git a/CHANGELOG.md b/CHANGELOG.md index d93d307..a4a85d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ ## 🚘 Under the Hood 🚘 - Updated the `integration_tests/dbt_project.yml` variables to be global to ensure more effective testing of our seed data. +- Updated `property_closed_date` and `property_createdate` datatypes in `ticket_data` to cast as timestamp to fix datetime data type issues in BigQuery tests. - Updated the maintainer PR template to resemble the most up to date format. # dbt_hubspot v0.17.1 diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml index de27934..dadfec9 100644 --- a/integration_tests/dbt_project.yml +++ b/integration_tests/dbt_project.yml @@ -174,6 +174,10 @@ seeds: created: timestamp obsoleted_by_created: timestamp sent_by_created: timestamp + ticket_data: + +column_types: + property_closed_date: timestamp + property_createdate: timestamp ticket_property_history_data: +column_types: timestamp_instant: timestamp diff --git a/integration_tests/seeds/ticket_data.csv b/integration_tests/seeds/ticket_data.csv index ef60ccd..4183773 100644 --- a/integration_tests/seeds/ticket_data.csv +++ b/integration_tests/seeds/ticket_data.csv @@ -12,14 +12,14 @@ _fivetran_synced,id,is_deleted,property_closed_date,property_createdate,property 2020-11-26 18:51:39,197316537,FALSE,2020-09-12 19:53:15,2020-09-12 19:53:15,,1486381,1706266,,,,28a8d366cc9182135385d79b15c7b7af,37a6259cc0c1dae299a7866489dff0bd 2020-11-26 18:51:39,121723395,FALSE,2020-04-20 12:49:01,2020-04-20 12:49:01,,1486381,1706266,,,,87b17cc25902180b6572f3f35a059711,37a6259cc0c1dae299a7866489dff0bd 2020-11-26 18:51:39,226600613,FALSE,2020-10-22 18:44:56,2020-10-22 18:44:56,,1486381,1706266,,,,98ff5402c937d4664bbbb00ec05cfe47,37a6259cc0c1dae299a7866489dff0bd -2020-11-26 18:51:39,338430345,FALSE,2021-03-16 0:32:29,2021-03-16 0:32:29,,1486381,1706266,,,,d8254b6c7ad36c09cf05a464856dd19d,37a6259cc0c1dae299a7866489dff0bd +2020-11-26 18:51:39,338430345,FALSE,2021-03-16 00:32:29,2021-03-16 00:32:29,,1486381,1706266,,,,d8254b6c7ad36c09cf05a464856dd19d,37a6259cc0c1dae299a7866489dff0bd 2020-11-26 18:51:39,210718823,FALSE,2020-10-02 21:12:18,2020-10-02 21:12:18,,1486381,1706266,,,,5f4a993802657bf17e2d7016288b0bab,37a6259cc0c1dae299a7866489dff0bd 2020-11-26 18:51:39,198968635,FALSE,2020-09-15 15:27:16,2020-09-15 15:27:16,,1486381,1706266,,,,d52dbfdbb2eb5c94c701cf7c63eea941,37a6259cc0c1dae299a7866489dff0bd 2020-11-26 18:51:39,200415373,FALSE,2020-09-17 15:43:38,2020-09-17 15:43:38,,1486381,1706266,,,,5e05e38174cc749a7d0a04236be00fbc,37a6259cc0c1dae299a7866489dff0bd 2020-11-26 18:51:39,287177375,FALSE,2021-01-20 18:36:51,2021-01-20 18:36:51,,1486381,1706266,,,,8c697d166a33fa3758f03c2097779d9f,37a6259cc0c1dae299a7866489dff0bd 2020-11-26 18:51:39,234235597,FALSE,2020-11-03 14:24:28,2020-11-03 14:24:28,,1486381,1706266,,,,54e965e21077751164217935c380facb,37a6259cc0c1dae299a7866489dff0bd -2020-11-26 18:51:39,280473935,FALSE,2021-01-11 3:42:30,2021-01-11 3:42:30,,1486381,1706266,,,,2f03edf45aaa4d282095e7e88330cecc,37a6259cc0c1dae299a7866489dff0bd +2020-11-26 18:51:39,280473935,FALSE,2021-01-11 03:42:30,2021-01-11 03:42:30,,1486381,1706266,,,,2f03edf45aaa4d282095e7e88330cecc,37a6259cc0c1dae299a7866489dff0bd 2020-11-26 18:51:39,201110733,FALSE,2020-09-18 13:30:40,2020-09-18 13:30:40,,1486381,1706266,,,,a7aaed53b33cdd85eee6308d6bc7a240,37a6259cc0c1dae299a7866489dff0bd 2020-11-26 18:51:39,120338492,FALSE,2020-04-16 13:25:03,2020-04-16 13:25:03,,1486381,1706266,,,,e11b8d7610e2205e2c3cb233b926d56d,37a6259cc0c1dae299a7866489dff0bd -2020-11-26 18:51:39,171529540,FALSE,2020-08-03 2:49:24,2020-08-03 2:49:24,,1486381,1706266,,,,6c5237eee681e041f8def82aff141375,37a6259cc0c1dae299a7866489dff0bd +2020-11-26 18:51:39,171529540,FALSE,2020-08-03 02:49:24,2020-08-03 02:49:24,,1486381,1706266,,,,6c5237eee681e041f8def82aff141375,37a6259cc0c1dae299a7866489dff0bd 2020-11-26 18:51:39,249658461,FALSE,2020-11-26 18:51:39,2020-11-26 18:51:39,,1486381,1706266,,,,f053faea765fc8b6632e6099f62b09f1,37a6259cc0c1dae299a7866489dff0bd \ No newline at end of file