This is a series of tiny articles about some features that are lacking in the Azure data factory and how to overcome them :
To construct an array in the Azure pipeline, we need to use string parsing; in this example, we like to build a set with each element having to variable name and path; the latter comes from a pipeline parameter.
The keyword concat is very useful at it let you have multiple parameters and concatenate them into a single string. The JSON keyword will transform this into a JSON object.
@json(concat('[{"name":"/',pipeline().parameters.INITIAL_PATH,'"}]'))
Aucun commentaire:
Enregistrer un commentaire