2.3 Join Operator
The JoinOperator
is used to join the data from multiple input data into a single data.
Example, if you have two parents, you can join the data from both parents into a single
data.
There are one way to use the JoinOperator
:
Build a JoinOperator
with a combine function
from dbgpt.core.awel import DAG, JoinOperator
with DAG("awel_join_operator") as dag:
task = JoinOperator(combine_function=lambda x, y: x + y)