Arithmetic operation - 6.1

tMap expression syntax

author
Shicong Hong
EnrichVersion
6.4
6.3
6.2
6.1
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Processing components (Integration)
Data Quality and Preparation > Third-party systems > Processing components (Integration)
Design and Development > Third-party systems > Processing components (Integration)
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