When you configure the data source for an array or struct field, you can choose to use the incoming data or inherit the parent's data sources to populate the children of the field.
When you use the incoming data, the incoming data is used to populate the children of the array or struct.
When you choose to inherit the parent's data sources, the data that is transformed into the parent output field is used to populate the children of the array or struct. Data transformations, such as joins and filters, that are applied to the parent field are preserved. You can apply filters to the field to further filter the data, but you cannot configure data sources, joins, group by fields, or order by fields.
You might want to choose the
Inherit parent's data sources
option when you create a new struct in the output.
For example, you are reading data from a relational table of customer records in which the customer ID is unique. The incoming data contains the following records: