https://flyte.org logo
#ask-the-community
Title
# ask-the-community
t

Tom Touati

10/04/2023, 1:31 PM
Hi all, Can map_task run a dynamic workflow as the mapped task? Looks like it causes issues..
k

Ketan (kumare3)

10/04/2023, 2:35 PM
I do not think this is supported today. Cc @Dan Rammer (hamersaw) , we are working on array nodes which may eventually support this, array nodes for simple tasks and pods are available today in experimental
d

Dan Rammer (hamersaw)

10/04/2023, 3:54 PM
Hey Tom, great question. And Ketan is 100% correct. Currently maptask does not support dynamics; it may run them (would have to test), but not as you expect. Basically, it would execute the entire entity as a single Flyte task -- rather than compiled subworkflow and executing it. So it would be no different than calling regular python functions from the dynamic rather than Flyte tasks.
t

Tom Touati

10/04/2023, 4:23 PM
Thanks @Ketan (kumare3) and @Dan Rammer (hamersaw) I tried a different flow, but encountered some issues running it locally: https://flyte-org.slack.com/archives/CP2HDHKE1/p1696436435571269 care to help?