Before you begin
-
You have previously created a connection to the system
storing your source data.
Here, a Test connection.
-
You have previously added the dataset holding your source
data.
Download and extract the file: concatenate_us_leads.zip.
It contains a list of US leads with first names, last names, cities and
states.
-
You also have created the connection and the related dataset
that will hold the processed data.
Here, a dataset stored in the same Test connection.
Procedure
-
Click Add
pipeline on the Pipelines page. Your new pipeline opens.
-
Give the pipeline a meaningful name.
Example
Concatenate first and last names
in a list of leads
-
Click ADD SOURCE to open
the panel allowing you to select your source data, here data about US
leads.
Example
-
Select your dataset and click
Select in order to add it to the pipeline.
Rename it if needed.
-
Click and add a Field concatenator processor to the
pipeline. The configuration panel opens.
-
Give a meaningful name to the processor.
Example
concatenate first/last names
-
In the Configuration
area:
-
Select Concatenate with
value/another field in the Function name list.
-
Select .firstname in the
Fields to process list, as
you want to concatenate this field with another one.
-
Enable the Create new column option, and enter
fullname in the Rename new
column field, as you want to create a new output column
that will contain the result of the concatenation operation.
-
Select Other column in the Use
with list, and select .lastname
in the Column list, as you want to concatenate
the .firstname field with the
.lastname field.
-
In the Separator field, enter a space as you
want to use the space as a separator in the combined first and last
names.
-
Click Save to
save your configuration.
Look at the preview of the processor to compare your data
before and after the operation.
All first and last are now combined with a space as a separator.
-
Click ADD DESTINATION and select the dataset that will hold
your processed data.
Rename it if needed.
-
On the top toolbar of Talend Cloud Pipeline Designer,
click the Run button to open the panel allowing you to select
your run profile.
-
Select your run profile in the list (for more information, see Run profiles), then click Run to
run your pipeline.
Results
Your pipeline is being executed, the data is concatenated according to the
conditions you have stated and the output is sent to the target system you have
indicated.