
Component |
Orchestration |
|
Function |
Merges data from various sources, based on a common schema. WarningtUnite cannot exist in a data |
|
Purpose |
Centralize data from |
|
Basic |
Schema and Edit |
A schema is a row description, it defines the number of fields to Since version 5.6, both the Built-In mode and the Repository mode are Click Edit schema to make changes to the schema. If the
Click Sync This component offers the advantage of the dynamic schema feature. This allows you to This dynamic schema feature is designed for the purpose of retrieving unknown columns |
|
|
Built-in: The |
|
|
Repository: The |
Advanced |
tStatCatcher |
Select this check box to collect log data at the |
Usage |
This component is not |
|
Global Variables |
ERROR_MESSAGE: the error message generated by the NB_LINE: the number of rows processed. This is an After A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see Talend Studio |
|
Connections |
Outgoing links (from this component to another): Row: Main.
Trigger: Run if; On Component Ok; Incoming links (from one component to this one): Row: Main; Reject. For further information regarding connections, see |
|
Log4j |
The activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html. |
|
Limitation |
n/a |
The following Job iterates on a list of files then merges their content and displays
the final 2-column content on the console.

-
Drop the following components onto the design workspace: tFileList, tFileInputDelimited, tUnite
and tLogRow. -
Connect the tFileList to the tFileInputDelimited using an Iterate connection and connect the other
component using a row main link.
-
In the tFileList
Basic settings view, browse to the
directory, where the files to merge are stored.The files are pretty basic and contain a list of countries and their
respective score. -
In the Case Sensitive field, select
Yes to consider the letter case. -
Select the tFileInputDelimited component,
and display this component’s Basic settings
view. -
Fill in the File Name/Stream field by
using the Ctrl+Space bar combination to
access the variable completion list, and selecting
tFileList.CURRENT_FILEPATH
from the global variable list to
process all files from the directory defined in the tFileList. -
Click the Edit Schema button and set
manually the 2-column schema to reflect the input files’ content.For this example, the 2 columns are Country and
Points. They are both nullable. The Country column is of
String type and the
Points column is of Integer type. -
Click OK to validate the setting and
accept to propagate the schema throughout the Job. -
Then select the tUnite component and
display the Component view. Notice that the
output schema strictly reflects the input schema and is read-only. -
In the Basic settings view of tLogRow, select the Table option to display properly the output values.