Table of Contents

Search

  1. Preface
  2. Introduction to PostgreSQL Connector
  3. Connections for PostgreSQL
  4. Mappings and mapping tasks with PostgreSQL Connector
  5. PostgreSQL objects in mapping tasks
  6. Lookup transformation
  7. SQL transformation
  8. Migrating a mapping
  9. PostgreSQL SQL ELT optimization
  10. Data type reference

PostgreSQL Connector

PostgreSQL Connector

Adding multiple source objects

Adding multiple source objects

When you create a Source transformation, you can select multiple PostgreSQL objects as the source type, and then configure an advanced relationship to combine the tables.
Perform the following steps to join multiple objects in a Source transformation:
  1. In the Source transformation, select the
    Source Type
    as
    Multiple Objects
    .
  2. From the
    Actions
    menu, select
    Add Source Object
    .
    Select add source object in the objects and relationships section.
  3. In the
    Select Source Object
    window, select the source object that you want to add, and then click
    OK
    .
    Source object is selected to configure a relationship.
  4. From the
    Actions
    menu, select
    Advanced Relationship
    .
    Added related objects for the advanced relationship.
  5. In the
    Advanced Relationship
    window, click
    Add Object
    to add more objects.
    To add more objects, you can select the Add Object option.
  6. In the
    Select Source Object
    window, select the source object with which you want to define a relationship, and then click
    OK
    .
    The selected object with which you want to configure a relationship.
  7. In the
    Advanced Relationship
    window, select the required fields, and set the conditions or specify a query to define a relationship between the tables.
    The defined relationship between the source objects.
  8. Click
    OK
    .
    The following image shows an example of an advanced relationship condition defined between the PostgreSQL tables:
    The defined relationship between the tables with the advanced relationship option.

0 COMMENTS

We’d like to hear from you!
Sanket Kamble - January 21, 2024

Hi Team , 

Does multiple Source Object support LEFT OUTER JOIN keywords .

For Example

{

STG_ADOBE.OTHER_TABLE 
LEFT OUTER JOIN 
STG_ADOBE.PROV_DEMOGRAPHIC 
ON PROV_DEMOGRAPHIC.PROV_ID = OTHER_TABLE.PROV_ID 

}

Even though i wrote this in Advanced Relationship Panel.

 

Still Informatica Cloud is considering this has normal Inner Join :

 

The query in Session log :

The Snowflake Connector uses the following SQL query to read data: SELECT "OTHER_TABLE"."PROV_ID" , "OTHER_TABLE"."DROP_DT" , "PROV_DEMOGRAPHIC"."START_D" , "PROV_DEMOGRAPHIC"."END_D" , "PROV_DEMOGRAPHIC"."CREATED_D" FROM "OTHER_TABLE" JOIN "PROV_DEMOGRAPHIC" ON { STG_ADOBE.OTHER_TABLE 
LEFT OUTER JOIN 
STG_ADOBE.PROV_DEMOGRAPHIC 
ON PROV_DEMOGRAPHIC.PROV_ID = OTHER_TABLE.PROV_ID }

Please look into this issue .

Informatica Documentation Team - January 23, 2024

Hi Sanket Kamble,

We're working to address your comments and will get back to you.

Regards,

Informatica Documentation Team