Commit f589fdd
authored
[dagster-dbt] Be more resilient to missing timing data from dbt cloud (#33045)
## Summary & Motivation
It's possible for dbt cloud to not return any timing data in some circumstances. The main purpose of us tracking this is to be able to emit materialization events in the proper order. This gives a fallback of using the time we received the event as the completed_at time, and swaps the tuple that we're using to sort our materialization events to prioritize the topological order
## How I Tested These Changes
## Changelog
[dagster-dbt] Fixed issue that could cause errors when emitting events for a dbt Cloud job run1 parent 68bd876 commit f589fdd
2 files changed
Lines changed: 6 additions & 1 deletion
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
0 commit comments