Designing Data Integrator Projects

Modifying an Existing Join

Once you create a join between source tables, you can modify the join condition if needed.


Note –

For optimal performance, join the most unique columns in the first join and the least unique columns in a second join.


ProcedureTo Join Source Tables

  1. Open the ETL collaboration in the ETL Collaboration Editor.

  2. In the ETL Collaboration Editor canvas, right-click the join view and select Edit Join View.

    The Create New Join View dialog box appears.

    Figure shows the Create New Join View dialog box.
  3. Do any of the following:

    1. Under Available Tables, select additional tables you want to join and then click the right arrow.

      The tables move to the Selected Tables column, and the join is represented graphically in the Preview panel.

      Figure shows an example of a join.
    2. In the Preview panel, click the down arrow in the join condition and select the type of join to use from the following options.

      • Inner – Use this if all tables to be joined contain the same column.

      • Left Outer – Use this if the results should always include the records from the left table in the join clause.

      • Right Outer – Use this if the results should always include the records from the right table in the join clause.

      • Full Outer – Use this if the results should always include the records from both the right and left tables in the join clause.

    3. To modify the columns included in the join condition, click the Select Columns tab and then select or deselect any columns.

      Figure shows the Select Columns panel for a join.
    4. To define the join conditions, click inside the join box. On the Edit Join Condition dialog box, define the join conditions by dragging column names from the list in the left panel. Join the column names by dragging operators from the toolbar.


      Note –

      You can perform this step viewing either the source code or a graphical representation of the source code. For information about available operators, see . The figure below shows a simple example of a join condition.

      Figure shows the Edit Join Condition window.