Transformations > Source transformation > Reading hierarchical data in advanced mode
  

Reading hierarchical data in advanced mode

You can use a Source transformation in advanced mode to read hierarchical data from complex files, such as Avro, JSON, and Parquet files. Advanced mode represents the data as an array, map, or struct.
To read hierarchical data, set the format on the Source tab to a hierarchical format, such as JSON, or to Discover Structure. Use Discover Structure when you want to use an intelligent structure model to define the structure of your data. For more information, see Using intelligent structure models in mappings in advanced mode.
Downstream in the mapping, you can use the hierarchical fields as pass-through fields to convert data from one complex file format to another. For example, you can read hierarchical data from an Avro source and write the data to a JSON target. You can also use the hierarchical fields and their child fields in expressions and conditions in downstream transformations. For information about accessing child fields, see the Function Reference.
You can pass hierarchical fields to the following transformations:

Rules and guidelines for reading hierarchical data

Consider the following guidelines when you read hierarchical data: