Merging the content of several columns - 8.0

Talend Data Preparation Examples

Version
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Data Preparation
Content
Data Quality and Preparation > Cleansing data
Last publication date
2024-01-12

In some cases, the data you want to use is split in several columns. You can group these columns using a concatenation.

All the information you need to create the email addresses is now ready, and you only need to assemble it. You will merge the three columns that you have created since the beginning of this scenario.

Procedure

  1. Select the email_first_name column.
    When merging several columns together, the one that you select at the beginning, email_first_name in this case, will be the first part of the merged column that will be created.
  2. In the functions panel, type Concatenate with and click the result to display the options of the associated function.
  3. Configure the function as follows:

    You can only concatenate two columns at a time, so you will begin by merging the email_first_name column with the email_last_name, with . as separator.

  4. Click the Submit button to apply the function.

    A new column with the merged content from the two columns is created.

  5. Proceed the same way to merge the column you just created with the email_domain column, but using @ as separator this time.

Results

The content of the three columns has been merged. You have created a column containing valid email addresses, based on first names, last names and a web domain for each company.