Arithmetic operation

tMap

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend MDM Platform
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
Talend Data Management Platform
Talend Open Studio for ESB
Talend Data Fabric
Talend Big Data
Talend Data Services Platform
Talend ESB
Talend Data Integration
Talend Open Studio for Data Integration
Talend Big Data Platform
Talend Open Studio for Big Data
task
Data Governance > Third-party systems > Processing components (Integration) > tMap
Design and Development > Third-party systems > Processing components (Integration) > tMap
Data Quality and Preparation > Third-party systems > Processing components (Integration) > tMap
EnrichPlatform
Talend Studio

You can perform arithmetic operations including additions, subtractions, multiplications and divisions in the Expression Builder.

As shown below, there is a new column called new_salary in the output table. Its value is the original salary plus 500.

The input data will be transformed to output data after being processed in the tMap component.

Input table:

employee_id name salary
1 Elisa 12000
2 Nicolas 13000
3 Patrick 10000

Output table:

employee_id name salary new_salary
1 Elisa 12000 12500
2 Nicolas 13000 13500
3 Patrick 10000 10500