Stephen Herron
01/08/2022, 7:00 AMwith Flow(FLOW_NAME) as flow:
event_dates = get_event_dates()
s3_keys = generate_s3_key.map(suffix=event_dates)
event_file_data = unload_data_to_s3.map(s3_keys, event_dates)
update_log = update_log.map(event_dates, upstream_tasks=[event_file_data])
update_snowflake = update_snowflake.map(s3_keys, event_dates, upstream_tasks=[update_log])
The problem is when I schedule this in cloud (local agent) even though all the mapped tasks complete the run doesn’t seem to terminate. Am I missing something?Anna Geller
Stephen Herron
01/08/2022, 1:14 PMupdate_log
and update_snowflake
- unless the data got unloaded - but event_file_data
doesn’t return anything. Perhaps I could make that return the tuple, that might do the job..
3. Yep - will do :)Anna Geller