Transformations in Informatica 9: What Is A Transformation
Transformations in Informatica 9: What Is A Transformation
Transformations in Informatica 9: What Is A Transformation
What is a Transformation
A transformation is a repository object which reads the data, modifies the data and passes the
data. Transformations in a mapping represent the operations that the integration service performs
on the data.
Transformations can be classified as active or passive, connected or unconnected.
Active Transformations:
Change the transaction boundary: The transaction control transformation is active because it
defines a commit or roll back transaction.
Change the row type: Update strategy is active because it flags the rows for insert, delete, update
or reject.
Note: You cannot connect multiple active transformations or an active and passive
transformation to the downstream transformation or transformation same input group. This is
because the integration service may not be able to concatenate the rows generated by active
transformations. This rule is not applicable for sequence generator transformation.
Passive Transformations:
Transformations which does not change the number of rows passed through them, maintains the
transaction boundary and row type are called passive transformation.
Connected Transformations:
Transformations which are connected to the other transformations in the mapping are called
connected transformations.
Unconnected Transformations:
An unconnected transformation is not connected to other transformations in the mapping and is
called within another transformation, and returns a value to that.
The below table lists the transformations available in Informatica version 9:
Transformation
Aggregator
Type
Active/Connected
Description
Performs aggregate
calculations.
ApplicationSourceQualifier Active/Connected
Represents therows
that the Integration
Service reads from an
application, such as
an ERP source, when
it runs a session.
Custom
ActiveorPassive/Connected
Calls a procedure in a
shared library or
DLL.
DataMasking
Passive/Connected
Replaces sensitive
production data with
realistic test data for
non-production
environments.
Expression
Passive/Connected
Calculates a value.
ExternalProcedure
Passive/ConnectedorUnconnected
Calls a procedure in a
shared library or in
the COM layer of
Windows.
Filter
Active/Connected
Filters data.
HTTP
Passive/Connected
Connects to an HTTP
server to read or
update data.
Passive/Connected
Defines mapplet
input rows. Available
in the Mapplet
Designer
ActiveorPassive/Connected
Joiner
Active/Connected
Lookup
Normalizer
Active/Connected
Input
Java
pipeline to normalize
data from relational
or flat file sources.
Output
Passive/Connected
Defines mapplet
output rows.
Available in the
Mapplet Designer.
Rank
Active/Connected
Limits records to a
top or bottom range.
Router
Active/Connected
SequenceGenerator
Passive/Connected
Generates primary
keys.
Sorter
Active/Connected
SourceQualifier
Active/Connected
SQL
ActiveorPassive/Connected
Executes SQL
queries against a
database.
StoredProcedure
Passive/ConnectedorUnconnected
Calls a stored
procedure.
TransactionControl
Active/Connected
Active/Connected
ActiveorPassive/Connected
Transforms data in
unstructured and
semi-structured
formats.
UpdateStrategy
Active/Connected
Determines whether
to insert, delete,
update, or reject
rows.
XMLGenerator
Active/Connected
Union
UnstructuredData
through a single
output port.
XMLParser
XMLSourceQualifier
Active/Connected
Active/Connected
1] Source Qualifier Transformation in Informatica:The source qualifier transformation is an active,connected transformation used to represent the
rows that the integrations service reads when it runs a session. You need to connect the source
qualifier transformation to the relational or flat file definition in a mapping. The source qualifier
transformation converts the source data types to the Informatica native data types. So, you
should not alter the data types of the ports in the source qualifier transformation.
The source qualifier transformation is used to do the following tasks:
Joins: You can join two or more tables from the same source database. By default the sources
are joined based on the primary key-foreign key relationships. This can be changed by explicitly
specifying the join condition in the "user-defined join" property.
Filter rows: You can filter the rows from the source database. The integration service adds a
WHERE clause to the default query.
Sorting input: You can sort the source data by specifying the number for sorted ports. The
Integration Service adds an ORDER BY clause to the default SQL query
Distinct rows: You can get distinct rows from the source by choosing the "Select Distinct"
property. The Integration Service adds a SELECT DISTINCT statement to the default SQL query.
Custom SQL Query: You can write your own SQL query to do calculations.
Property
Description
SQL Query
User-Defined Join
Source Filter
Specifies the filter condition the Integration Service applies when querying
rows.
Number of Sorted
Ports
Tracing Level
Sets the amount of detail included in the session log when you run a
session containing this transformation.
Select Distinct
Pre-SQL
Pre-session SQL commands to run against the source database before the
Integration Service reads the source.
Post-SQL
Post-session SQL commands to run against the source database after the
Integration Service writes to the target.
Output is
Deterministic
Specify only when the source output does not change between session
runs.
Output is
Repeatable
Specify only when the order of the source output is same between the
session runs.
Note: For flat file source definitions, all the properties except the Tracing level will be disabled.
Pre and Post SQL:You can add the Pre-SQL and Post-SQL commands. The integration service runs the Pre-SQL
and Post-SQL before and after reading the source data respectively.
A source qualifier represents the rows that the integration service reads when it runs a session.
Source qualifier is an active transformation.
2. Why you need a source qualifier transformation?
The source qualifier transformation converts the source data types into informatica native data
types.
The source qualifier transformation joins the tables based on the primary key-foreign key
relationship.
5. How to create a custom join in source qualifier transformation?
When there is no primary key-foreign key relationship between the tables, you can specify a
custom join using the 'user-defined join' option in the properties tab of source qualifier.
6. How to join heterogeneous sources and flat files?
Use joiner transformation to join heterogeneous sources and flat files
User-Defined Join
Source Filter
Select Distinct
Pre-SQL
Post-SQL