Use the procedure below to add and configure a tUnite component that
will be used to merge the input flows.
Procedure
-
Next the tFileInputDelimited components, add a new
addComponent {} function and its sub-functions
setComponentDefinition {} and setSettings
{} to add and label the tUnite
component.
addComponent {
setComponentDefinition {
TYPE: "tUnite",
NAME: "tUnite_1",
POSITION: 384, 192
}
setSettings {
LABEL : "merge"
}
}
-
Next to the setSettings {} function, enter the
addSchema {} function to define the schema of the
tUnite component, which must be the same as the input
flows.
addSchema {
NAME: "tUnite_1",
CONNECTOR: "FLOW"
addColumn {
NAME: "subject",
TYPE: "id_String"
}
addColumn {
NAME: "score",
TYPE: "id_Double",
PRECISION: 2
}
}