Merge Join
Standard SQL joins ..
Workshop - Merge Join
A workshop to illustrate various SQL joins.
In this workshop, we're going to run through the various join types available in the Merge join step.
Create a new Transformation
Any one of these actions opens a new Transformation tab for you to begin designing your transformation.
By clicking File > New > Transformation
By using the CTRL-N hot key

Data grid
The Data grid step allows you to enter a static list of rows in a grid. This is usually done for testing, reference or demo purposes.
Options
Meta tab: You can specify the field metadata (output specification) of the data
Data tab: This grid contains the data. Everything is entered in String format so make sure you use the correct format masks in the metadata tab.
Drag the Data Grid step onto the canvas.
Open the Data Grid properties dialog box.
Ensure the following details are configured, as outlined below:


Merge Join
The Merge Join step performs a classic merge join between data sets with data coming from two different input steps. Join options include INNER, LEFT OUTER, RIGHT OUTER, and FULL OUTER.
Drag the Merge Join step onto the canvas.
Open the Merge Join properties dialog box.
Select various Join Types to view the resulting dataset

Obviously you need to join on a unique key(s)
Click the Run button in the Canvas Toolbar.
Click on the Dummy step Preview tab:
INNER Join

LEFT OUTER Join

RIGHT OUTER Join

FULL OUTER Join

Now give it a go with the 'Merge Streams' scenario ..
Last updated
Was this helpful?
