|
59 | 59 | # Flows # |
60 | 60 |
|
61 | 61 | with Flow( |
62 | | - "SMTR: GPS SPPO - Realocação (captura)", |
| 62 | + "SMTR: GPS SPPO Realocação - Captura", |
63 | 63 | code_owners=["caio", "fernanda", "boris", "rodrigo"], |
64 | 64 | ) as realocacao_sppo: |
65 | 65 | # SETUP # |
|
81 | 81 | timestamp = get_current_timestamp() |
82 | 82 |
|
83 | 83 | rename_flow_run = rename_current_flow_run_now_time( |
84 | | - prefix="GPS SPPO - Realocação: ", now_time=timestamp |
| 84 | + prefix=realocacao_sppo.name + ": ", now_time=timestamp |
85 | 85 | ) |
86 | 86 |
|
87 | 87 | partitions = create_date_hour_partition(timestamp) |
|
135 | 135 |
|
136 | 136 |
|
137 | 137 | with Flow( |
138 | | - "SMTR: GPS SPPO - Materialização", |
| 138 | + "SMTR: GPS SPPO - Materialização (subflow)", |
139 | 139 | code_owners=["caio", "fernanda", "boris", "rodrigo"], |
140 | 140 | ) as materialize_sppo: |
141 | 141 | # Rename flow run |
142 | 142 | rename_flow_run = rename_current_flow_run_now_time( |
143 | | - prefix="SMTR: GPS SPPO - Materialização - ", now_time=get_now_time() |
| 143 | + prefix=materialize_sppo.name + ": ", now_time=get_now_time() |
144 | 144 | ) |
145 | 145 |
|
146 | 146 | # Get default parameters # |
|
228 | 228 | timestamp = get_current_timestamp() |
229 | 229 |
|
230 | 230 | rename_flow_run = rename_current_flow_run_now_time( |
231 | | - prefix="GPS SPPO: ", now_time=timestamp |
| 231 | + prefix=captura_sppo_v2.name + ": ", now_time=timestamp |
232 | 232 | ) |
233 | 233 |
|
234 | 234 | partitions = create_date_hour_partition(timestamp) |
|
282 | 282 |
|
283 | 283 |
|
284 | 284 | with Flow( |
285 | | - "SMTR - GPS SPPO Recapturas", code_owners=["caio", "fernanda", "boris", "rodrigo"] |
| 285 | + "SMTR: GPS SPPO - Tratamento", code_owners=["caio", "fernanda", "boris", "rodrigo"] |
286 | 286 | ) as recaptura: |
287 | 287 | version = Parameter("version", default=2) |
288 | 288 | datetime_filter = Parameter("datetime_filter", default=None) |
|
297 | 297 | ) |
298 | 298 |
|
299 | 299 | rename_flow_run = rename_current_flow_run_now_time( |
300 | | - prefix="GPS SPPO Recapturas: ", now_time=get_now_time(), wait=timestamps |
| 300 | + prefix=recaptura.name + ": ", now_time=get_now_time(), wait=timestamps |
301 | 301 | ) |
302 | 302 | with case(errors, False): |
303 | 303 | with case(materialize, True): |
|
0 commit comments