Block Group: | Table Operations |
Icon: |
The Join block returns a new table that joins the rows of two input tables.
Make sure to rename columns using the renameColumns property, if you don’t want the columns to be combined.
For information on using dataflow blocks, see Dataflow.
For answers to some common questions about working with tables, see Tables.
The following properties of the Join block can take input and give output.
input1 specifies the left table for the join operation.
input2 specifies the right table for the join operation.
column1 specifies the name of the key column from the input1 table.
column2 specifies the name of the key column from the input2 table.
join determines the method of joining. The value of the join property can be one of the following:
renameColumns determines the names in the output table for columns that come from input2. Use this syntax:
column1:newName column2:newName
To edit text in a popup window, click the Edit in Window icon. To create line breaks between columns, press Alt + Enter in the block properties panel, or press Enter in the popup window.
The following property of the Join block can give output but cannot take input.
output returns the joined table.
If column names are the same and are not renamed using the renameColumns property, the type of join determines the order of priority, as follows:
The following image shows an example of the Join block. In this example, a left join operation is performed.