Guy Propper
09/26/2021, 10:56 AMfile_paths_to_process_list = extract_files_to_process()
mapped_parsed_output = transform.map(file_paths_to_process_list)
load_output_to_db.map(mapped_parsed_output)
I want map#2 (load_output_to_db) to depend on results from map#1 (transform), but not to wait for all results from map#1. As soon as there is one result from map#1, it should be processed in map#2.
What is the correct way to do this?
Thanks!Henning Holgersen
09/26/2021, 11:21 AMtransform
from within the extract_files_to_process
and pass the return value on.Kevin Kho
Guy Propper
09/27/2021, 6:58 AMKevin Kho
flow.executor = LocalDaskExecutor()