Adding incoming fields to hierarchical output groups
Adding incoming fields to hierarchical output groups
You can add individual incoming fields or all fields in an input group to the output group, You can add incoming fields to an output group or to an array or struct field. You can rename or delete output fields as needed.
Click the
Add
link on the
Hierarchy Processor
tab next to the incoming field or input group that you want to add.
You can add fields in the following ways based on the incoming field's data type and the output type:
Add incoming field
Adds the selected incoming field to the selected output group or field.
The "Add incoming field" option is available when you add incoming fields with primitive data types to the output.
Add input group
Adds all incoming fields in the group to the selected output group or field.
The "Add input group" option is available when you add incoming fields with primitive data types to the output.
Add primitive single occurring children
Adds all primitive single occurring children under the field to the output, including the primitive, single occurring child fields that are nested under a struct. Adding primitive single occurring children doesn't add children that are nested under arrays.
You can add primitive single occurring children when you select an incoming struct or array field, and the output is hierarchical. For more information, see
Add primitive single occurring children.
Preserve incoming field
Preserves the hierarchical structure of the selected field in the output. For example, if you add an array of structs to the output group, then the output group contains an array of structs with the same structure.
The "Preserve incoming field" option is available when you select an incoming struct or array field, and the output is hierarchical. For more information, see
Preserve incoming fields.
Flatten selected array
Flattens an array of primitives into a primitive field. Creates one output record for each element in the array.
The "Flatten selected array" option is available when you select an incoming struct or array field, and the output is hierarchical. For more information, see
Flatten selected array.
Add selected array as struct
Flattens an array of structs into a struct field. Creates one output record for each element the array.
The "Add selected array as struct" option is available when you select an incoming struct or array field, and the output is hierarchical. For more information, see
Add selected array as struct.