Talend tDenormalize

We can use this Talend tDenormalize to denormalize or flatten the columns. To demonstrate the Talend tDenormalize, let me use this text file. As you can see, each employee has multiple Sales values, and our job is to denormalize that Sales column.

Talend tDenormalize 0

Talend tDenormalize Example

Before we start creating a tDenormalize job, we created the denormalize Source text file metadata. We use these DenormalizedSource metadata as the normalized source.

Let me use that file delimited metadata as the Talend Denormalize component source.

Talend tDenormalize 1

Next, drag and drop the tDenormalize into the job window.

Talend tDenormalize 2

As you see from the below tDenormalize component tab, it has a window to add the required column. It is the column that you want to denormalize, and the delimiter that you wish to use. Please use the + button to add denormalized columns.

Talend tDenormalize 3

Please click on the Talend Denormalization Edit Schema button to check the input & output columns.

Talend tDenormalize 4

We added Sales as the denormalize column and semicolon as delimiter.

Talend Denormalization 5

Next, we used the tLogRow to display the result of the denormalized data.

Talend Denormalization 6

Let us run the Talend tDenormalize job and see the result.

Talend Denormalization 7

Let us save this tDenormalize output in the text file that includes the header and the columns separated by ” ‘ “. Next, run the Talend tDenormalize job.

Talend Denormalization 8

Next, open the NormData text file to show you the result.

Talend Denormalization 9