This processor computes the Inner join on two input Datasets by one column match. Columns selected as join partners must have same data types. All other columns in the two Datasets may not have identical names.
INNER JOIN selects records that have matching values in both tables.
Inner join syntax:
SELECT column_name(s) FROM table1 INNER JOIN table2 ON table1.column_name = table2.column_name;
The processor requires two input Datasets having one attribute column in common.The join operation will be based on this common column.
The result contains columns from both the first and the second input Datasets, the join partner columns are replaced by the new column specified in the configuration. The new data set includes all the matching entries from both Datasets.
In the following example we join two custom input tables using the inner join processor.
The result contains columns from both data sets, with the common customer IDs presented as InnerJoin (the chosen new column name).