When you run data preview in the Data Viewer view, you can perform tasks, such as viewing the structure and data of a hierarchy field and filtering ports to view. You can also export the results to a JSON file.
Before you run data preview, add the complex file object to the mapping and verify that Spark is configured as the mapping run-time environment.
To perform hierarchical data preview, open a mapping in the Developer tool, and select a preview point.
To run the data preview, click Run in the Data Viewer view.
The output of the data preview can be viewed in the Data Viewer view.
To filter ports in the output, choose the ports you want to view.
To view the structure and the data in the field, select a hierarchy field.
The details of the hierarchy field appears on the hierarchical type panel.
To export the results to a JSON file, right-click the hierarchy field and select