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

AgConcatFirstPresentValue

Purpose

Copies the first argument that has a value (aggregate).

Description

Evaluates each argument in order and returns only the first value that is present and non-blank. If none of the values is present, nothing is returned. If first present value is a loop, only the value of the element in the first iteration of the loop is returned.

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

String

Variable Arguments

 

Variable Argument Type

[Map] Element