Creating a Complex File Target from an Existing Transformation
Creating a Complex File Target from an Existing Transformation
If one of the ports in the existing transformation contains a complex port, you must create a complex file target and link ports by name or link ports at run time based on the link policy.
Open a complex file mapping in the editor.
Right-click a transformation in the mapping editor and select
Create Target
.
The
Create Target
window opens.
Choose the complex file data object type.
Choose a link type.
You can choose from the following link types:
Link ports by name
Ports in the Write transformation correspond to those in the source and have the same names.
Link dynamic port based on the mapping flow
The Write transformation contains dynamic ports based on upstream objects in the mapping flow.
Link ports at run time based on link policy
Ports are created in the target at run time based on the link policy that you configure on the
Run Time Linking
tab of the Write transformation.
For more information about dynamic ports and run-time link configuration, see the
Informatica Developer Mapping Guide.
Name the new complex file data object.
Optionally, click
Browse
to select a location for the data object.
Select the complex file format as Avro, Parquet, Orc, or Json in the
Resource Format
list.
Click
Finish
.
The Developer tool performs the following tasks:
Adds a complex file Write transformation to the mapping.
Links ports.
Creates a physical data object.
You can configure the physical data object properties. For example, you must specify an HDFS or View File System (ViewFS) connection for the complex file data object.