Replies: 1 comment 3 replies
-
In dynamic branching, the "reduce" step happens automatically whenever you need the combined object. The In static branching, you can use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am struggling to figure out how to make a targets data pipeline which dynamically branches then re-converges. I assumed it was able to re-converge, since it's a DAG and DAG's can branch then re-converge (since they're directed, and therefore cannot form cycles).
For instance, I might want a starting branch A which is a collection, then branch out to dynamic branches on B, then re-converge to a collection on C. For B, I can pass map(A) to the pattern parameter of that tar_target. But there's no reduce pattern which lets me re-converge the dynamic branches. Is there another way of achieving this with dynamic branches? I know I can call B without a pattern. For tibbles/dataframes, this automatically concatenates them into one large tibble/dataframe. But what I want is a list of tibbles/dataframes, not a massive concatenated tibble/dataframe.
Are dynamic branches effectively trees, not full DAGs?
Beta Was this translation helpful? Give feedback.
All reactions