Transformations > Structure Parser transformation > Structure Parser field mapping
  

Structure Parser field mapping

Configure the field mapping in a Structure Parser transformation to define which fields in the source transformation to map to fields in the Structure Parser transformation. Configure field mappings on the Field Mapping tab of the Properties panel.
The Structure Parser contains the following Field Mapping fields in the Structure Parser Input Fields panel:
Data
Used to map the data field in the source transformation to the data field in the Structure Parser transformation. Map this field for a Hadoop Files source and for a Structure Parser transformation that is used midstream.
File Path
Used to map the file path or reference file in the source transformation to the file path field in the Structure Parser transformation.
You can configure the following field mapping options:
Field Map Options
Determines how field names appear in the Structure Parser transformation input fields list. Use technical field names or labels.
Automap
Links fields with matching or similar names. Allows you to link matching fields, and then manually configure other field mappings.
Show Fields
Controls the fields that appear in the Incoming Fields list. Show all fields, unmapped fields, or mapped fields.

For a Hadoop Files source

For a Hadoop Files source, map the Data and the File Path fields in the Incoming Field panel to the same fields in the Structure Parser Input Fields panel. You can use the Automap option to automatically map these fields.

For a flat file source

For a flat file source, map the field in the Incoming Field panel to the File Path field in the Structure Parser Input Fields panel.

For a Structure Parser transformation that is used midstream

When using a Structure Parser transformation midstream, that is not after the source transformation, map the incoming data ports to fields in the Structure Parser Input Fields panel.