Table of Contents

Search

  1. Preface
  2. Working with Transformations
  3. Aggregator Transformation
  4. Custom Transformation
  5. Custom Transformation Functions
  6. Data Masking Transformation
  7. Data Masking Examples
  8. Expression Transformation
  9. External Procedure Transformation
  10. Filter Transformation
  11. HTTP Transformation
  12. Identity Resolution Transformation
  13. Java Transformation
  14. Java Transformation API Reference
  15. Java Expressions
  16. Java Transformation Example
  17. Joiner Transformation
  18. Lookup Transformation
  19. Lookup Caches
  20. Dynamic Lookup Cache
  21. Normalizer Transformation
  22. Rank Transformation
  23. Router Transformation
  24. Sequence Generator Transformation
  25. Sorter Transformation
  26. Source Qualifier Transformation
  27. SQL Transformation
  28. Using the SQL Transformation in a Mapping
  29. Stored Procedure Transformation
  30. Transaction Control Transformation
  31. Union Transformation
  32. Unstructured Data Transformation
  33. Update Strategy Transformation
  34. XML Transformations

Transformation Guide

Transformation Guide

Creating a Joiner Transformation

Creating a Joiner Transformation

To use a Joiner transformation, add a Joiner transformation to the mapping, set up the input sources, and configure the transformation with a condition and join type and sort type.
To create a Joiner transformation:
  1. In the Mapping Designer, click Transformation > Create. Select the Joiner transformation. Enter a name, and click OK.
    The naming convention for Joiner transformations is JNR_
    TransformationName
    . Enter a description for the transformation.
    The Designer creates the Joiner transformation.
  2. Drag all the input/output ports from the first source into the Joiner transformation.
    The Designer creates input/output ports for the source fields in the Joiner transformation as detail fields by default. You can edit this property later.
  3. Select and drag all the input/output ports from the second source into the Joiner transformation.
    The Designer configures the second set of source fields and master fields by default.
  4. Double-click the title bar of the Joiner transformation to open the transformation.
  5. Click the Ports tab.
  6. Click any box in the M column to switch the master/detail relationship for the sources.
    To improve performance for an unsorted Joiner transformation, use the source with fewer rows as the master source. To improve performance for a sorted Joiner transformation, use the source with fewer duplicate key values as the master.
  7. Add default values for specific ports.
    Some ports are likely to contain null values, since the fields in one of the sources may be empty. You can specify a default value if the target database does not handle NULLs.
  8. Click the Condition tab and set the join condition.
  9. Click the Add button to add a condition. You can add multiple conditions.
    The master and detail ports must have matching datatypes. The Joiner transformation only supports equivalent (=) joins.
  10. Click the Properties tab and configure properties for the transformation.
    You can edit the join condition from the Condition tab. The keyword AND separates multiple conditions.
  11. Click OK.
  12. Click the Metadata Extensions tab to configure metadata extensions.

0 COMMENTS

We’d like to hear from you!