Informatica Cloud: How To Use Lookup

In Informatica, Joiner and Lookup can both join tables according to the join keys. What are the difference between Joiner and Lookup?

Joiner 

  • Active Transformation
  • The query cannot be overridden
  • Works only for equal conditions
  • Can do outer join
  • Can use only as Source
  • Multiple matches return all matching records
  • No configuration option for persistence cache, shared cache, uncached, and dynamic cache

Lookup

  • Passive Transformation
  • The query can be overridden
  • Support equal and range conditions
  • Cannot perform outer join
  • Can use as Source and Target
  • Multiple matches can be configured to return first, last, any or error values
  • Configuration option for persistence cache, shared cache, uncached, and dynamic cache
  • Perform Lookup on its own (unconnected lookup)

Let’s have a look at an example of Lookup Transformation by using the same data as Joiner Example.

We use Sales_Record as a master table and look up product name and unit price from Products.

Sales_Record

Product

Steps

    1. Configure Sales_Record as a source. For flat file connection, see here.

 

  1. The lookup table (Product) is configured inside the Joiner transformation.
  2. As Joiner, column names have to be different. To resolve field name conflict, we added src_ prefix in Sales_Record. The operator for the condition can be a range or equal.
  3. Run the mapping.

Outcome

ETL
Running Jobs with Informatica Cloud REST API

Informatica Cloud offers REST API for us to interact with the platform programmatically. At this point in time, the latest official reference is found here. In this post, we are going to use Python to trigger jobs through API. Triggering a job is a 2-step process. We need to authenticate …

ETL
Tips and Troubleshooting For Uploading CSV to Database In Talend

There will be time when you want to upload a big csv file (with many rows and hundreds of columns) to a relational database table. Talend Open Studio is an open source ETL tool that I use regularly to do odd jobs like that. I like using it because it …

ETL
How To Rename Mapping Job In Informatica Cloud

Mappings are where all the magic happens in Informatica Cloud. When I started using it, it took me a while to work out how to rename a mapping job. Since then, a few people asked me the same question. So, I decided to write about it. This is probably the …