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

Highlighted
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
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

View solution in original post

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

View solution in original post


All Replies
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

View solution in original post

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

View solution in original post

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 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog