Announcement: New Design for docs.informatica.com!
We have updated the look and feel of docs.informatica.com. To load the latest design, press CTRL-F5 to clear the pages you previously cached on our site, or simply restart your browser.
Rules and Guidelines for the Python Transformation
Rules and Guidelines for the Python Transformation
Consider the following rules and guidelines when you use a Python transformation:
You cannot pass complex ports to the Python transformation.
Mapping validation fails if a user-defined default value is assigned to an output port.
The mapping fails in the following situations:
An output port is not assigned a value in the Python code.
The data types in corresponding input and output ports are not the same, and the Python code does not convert the data type in the input port to the data type in the output port.
The Python transformation contains decimal ports and high precision is enabled in the mapping.