Swapping column content - Cloud

Talend Cloud Data Preparation User Guide

author
Talend Documentation Team
EnrichVersion
Cloud
EnrichProdName
Talend Cloud
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.