Transform a regular array into an array of objects inside a Mapping Data Flow in Azure Data Factory
Jose Martinez
0
Reputation points
In azure data factory, I have a column which is an arrayof strings like in this (image below):
costGroup = ["GH", "APT"]
Because I need to output in Json format later on, I need to transform it to an array of objects like this:
costGroup = [
{"code": "GH"},
{"code": "APT"}
]
I have been experiementing quite a bit with derived column transformation and with array functions but no success so far... any hint please?
Thanks in advance!
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
Sign in to answer