Skip to main content Skip to complementary content

Merging the input flows

Use the procedure below to add and configure a tUnite component that will be used to merge the input flows.

Procedure

  1. 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"		
    	}
    
    }
  2. 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
    		}
    	}

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!