You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dbt Cloud using HEAD version
- dbt (working version): 1.4.0a1 HEAD at 2022-12-07T15:45:32.039789Z
- dbt (regression version): 1.4.0a1 HEAD at 2022-12-07T16:01:21.330798Z
Which database adapter are you using with dbt?
bigquery
Additional Context
No response
The text was updated successfully, but these errors were encountered:
lustefaniak
changed the title
[Regression] Datetime format in run_results.json results.timing[].completed_at has not timezone
[Regression] Datetime format in run_results.json results.timing[].completed_at has no timezone
Dec 12, 2022
github-actionsbot
changed the title
[Regression] Datetime format in run_results.json results.timing[].completed_at has no timezone
[CT-1645] [Regression] Datetime format in run_results.json results.timing[].completed_at has not timezone
Dec 12, 2022
Problem with timestamps, sometimes having timezone and sometimes not is also present in many dbt Cloud API endpoints.
lustefaniak
changed the title
[CT-1645] [Regression] Datetime format in run_results.json results.timing[].completed_at has not timezone
[CT-1645] [Regression] Datetime format in run_results.json results.timing[].completed_at has no timezone
Dec 12, 2022
I was able to reproduce this for run_results.json using dbt-core 1.4.0a1 (bigquery). I didn't try reproducing this for sources.json, but trust it is being rendered in a timezone-naive fashion as reported.
Agreed that started_at and completed_at should both be timezone-aware when rendered with an ISO 8601 format in run_results.json. Timestamps within sources.json should be timezone-aware as well.
Note that this issue resolves if mashumaro is rolled back to 3.1.1. I'm currently looking into workarounds and the option of going back to that version.
I got to the bottom of this issue in mashumaro and added my notes to the issue for them. Hopefully it will be enough information for them to fix it soon.
Is this a regression in a recent version of dbt-core?
Current Behavior
run_results.json and sources.json has completed_at datetime in timing report without timezone.
Expected/Previous Behavior
Steps To Reproduce
Happens on dbt Cloud with version 1.4.0a1
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
bigquery
Additional Context
No response
The text was updated successfully, but these errors were encountered: