AgSum - 6.3

Talend Data Mapper User Guide

EnrichVersion
6.3
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend Studio

Name

AgSum

Purpose

Computes the sum of a set of values across looping boundaries.

Description

Returns the sum of all specified [map] elements.

Since this is an aggregate function, each argument is subject to different looping than that of the enclosing expression. See Aggregate Looping for details on how this looping works.

If you wish to perform additional computation in conjunction with this aggregate function (a sum for example), then do that in an enclosing expression that uses this aggregate function as an argument.

Loop Type

Aggregate

Return Type

Decimal

Variable Arguments

 

Variable Argument Type

[Map] Element