merge two fields in tmap and the values of fields shloud me separated by space

Seven Stars

merge two fields in tmap and the values of fields shloud me separated by space

Hi All,

i have two fields need to merge in one field

first_name|last_name

xyc,abc.

 

i need it like below

new output in tmap

name = first_name+last_name (separated by space)

 

name

xyc abc


Accepted Solutions
Highlighted
Community Manager

Re: merge two fields in tmap and the values of fields shloud me separated by space

This is pretty straight forward. Assuming your columns are attached to row1, your code would look like this....

 

row1.first_name + " " + row1.last_name
Seven Stars

Re: merge two fields in tmap and the values of fields shloud me separated by space

Thanks @rhall_2_0 .. it was very helpfull


All Replies
Highlighted
Community Manager

Re: merge two fields in tmap and the values of fields shloud me separated by space

This is pretty straight forward. Assuming your columns are attached to row1, your code would look like this....

 

row1.first_name + " " + row1.last_name
Seven Stars

Re: merge two fields in tmap and the values of fields shloud me separated by space

Thanks @rhall_2_0 .. it was very helpfull

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch