HJoin Tables pairwise

../../../../../_images/hjoin_table.svg

The operation of horizontal join, or HJoin, stacks the columns in the incoming Tables horizontally beside each other. The outgoing Table will have all the columns from all the incoming Tables.

If the setting ‘Complement missing rows’ is false then all Tables that should be joined must have the same number of rows. Otherwise, Tables with different number of rows are padded with masked values.

If a column name exists in both inputs the latter Table (or lower port) will take precedence and the corresponding column from the former Table (or upper port) will be lost.

The node always tries to give the output table a name, so if the chosen port has a table without name, the other port will be used. This is to preserve backwards compatibility.

class node_hjoin_tables.HJoinTables[source]

Pairwise horizontal join of two lists of Tables into a single list of Tables. I.e. The first Table on the upper port is hjoined with the first Table on the lower port and so on.

Opposite node:

HSplit Tables

Inputs:
port1 : [table]

Input Tables 1

port2 : [table]

Input Tables 2

Outputs:
port1 : [table]

List of Tables with pairwise horizontally joined data from the incoming lists of Tables.

Configuration:
Rename duplicate columns

If true columns with same name as an earlier column will be renamed and joined, otherwise columns will overwrite existing data

Complement missing rows

Select if rows that are not represented in all Tables should be complemented with masked values

Input port name for joined table

Select which port decides the output table(s) names