Swapping column content

Talend Data Preparation User Guide

author
Talend Documentation Team
EnrichVersion
6.4
2.1
EnrichProdName
Talend MDM Platform
Talend Real-Time Big Data Platform
Talend Data Services Platform
Talend Big Data
Talend Data Management Platform
Talend Data Fabric
Talend ESB
Talend Data Integration
Talend Big Data Platform
task
Data Quality and Preparation > Cleansing data
EnrichPlatform
Talend Data Preparation

In the case where the content of two columns has been inverted, you can use the Swap columns function.

This function allows you to swap the data contained in two columns without having to rename the columns and modify their type.

Procedure

  1. Click one of the columns with the incorrect data.
  2. In the Functions panel, type Swap columns.
  3. In the drop down list, select the name of the column with which you want to swap the data.
  4. Click Submit.

Results

The content of the two columns have been swapped.