Reading a file in Talend Studio
Talend Studio allows you to easily access your data with a wide array of components. In this tutorial, learn how to access data in a standard comma-separated file format.
Creating a Talend Studio project
Creating a project is the first step to using Talend Studio. Projects allow you to better organize your work.
Procedure
Results
Creating a Job to read a delimited file
Talend Studio projects contain Jobs. In Jobs, you can build workflows through components, which allow you to complete specific actions.
Before you begin
Procedure
Results
Configuring a component to read a delimited file
Talend Studio components allow you to complete specific actions. You can add them to Jobs. You can use the tFileInputDelimited component to read a delimited file, for example.
Before you begin
Procedure
- Click inside the Designer.
- Enter tFileInputDelimited and select the component of the same name.
-
In the Designer, double-click the
tFileInputDelimited component.
Results
Defining a component schema to read a delimited file
Defining the component schema of your delimited file helps you parse the data you are working with.
Before you begin
Procedure
Results
Reading a delimited file and displaying its content in the console
You can display the result of a workflow with a link to a tLogRow component. The tLogRow component displays data in the Run console.
Before you begin
- You must have added and configured a tFileInputDelimited component (see Configuring a component to read a delimited file).
- You must also have defined its schema (see Defining a component schema to read a delimited file).
Procedure
- In the Designer, add a tLogRow component.
-
Right-click the tFileInputDelimited component.
- In the Run view, click Run.