When you add an incoming array of primitives to the output, you can flatten the selected array into a field of the same data type.
When you flatten a selected array, it creates one record for each element in the array.
Example of flattening an array
You want to extract the description information from a nested array of maintenance records. The description information is in an array of strings. You want to flatten the output into a string field.
Add the description array to the output group and choose
Flatten Selected Array
.
The following image shows the incoming and output fields:
The output contains one record for each occurrence of description in the incoming data.
For example, the incoming data contains the following record:
Informatica uses cookies to enhance your user experience, improve the quality of our website, and deliver advertising and other content tailored to your interests. Some jurisdictions’ privacy laws offer their residents specific privacy rights, which we respect as described in our privacy policy. To exercise rights that you may have related to cookies, including opt-out of sharing information with third parties for advertising purposes, select "More Info" or see this "Do Not Sell or Share My Personal Information" link.