[Core feature] Map node array tasks do not support @dynamic
, @eager
, or @workflow
nodes
#5684
Open
2 tasks done
Labels
enhancement
New feature or request
Motivation: Why do you think this is important?
Map node array tasks allow users to map a
@task
over a list of inputs. Currently, other node types, i.e.@dynamic
,@eager
, and@workflow
are not supported.As a user, I would like to implement the following logic that today cannot be expressed in Flyte due to this limitation:
In this example, the task
consume_partial_results_task
can consume a subset of the outputs ofdynamic_subwf
(or a normal sub workflow) which is being mapped even if not all (dynamic) sub workflows are successful.Currently, consuming partial results can only be done when mapping a
@task
but not all logic can be compressed into a single task.Goal: What should the final outcome look like, ideally?
Support every node type in
map_task
.Describe alternatives you've considered
One can execute multiple (dynamic) sub workflows and tolerate failures of some of them by using
WorkflowFailurePolicy.FAIL_AFTER_EXECUTABLE_NODES_COMPLETE
but this does not allow consuming partial results of the successful (dynamic) sub workflows.Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: