Random Matcher

The cells from the second table are attached to the first table. If selected, the node avoids creating duplicates from the second table. (However, if there are more rows in the first table than the second, this is not possible.)

If the user chooses a string column from both data tables, allocation depends on the values of these two columns. If possible, the new cells are chosen so that the columns match. (If there are no matches in the second column, we simply choose a random row.)

Options

First table column
An optional column from the first (original) table to use for matching rows. When a column is selected in both tables, only rows that share the same value in those columns will be matched. Select "None" for purely random matching.
Second table column
An optional column from the second (new information) table to use for matching rows. When a column is selected in both tables, only rows that share the same value in those columns will be matched. Select "None" for purely random matching.
Unique selection
If selected, the node tries to minimize duplicates selected from the second table. (Slows down performance.)
Use seed
When enabled, a fixed seed is used to produce a deterministic result. When disabled, each execution may produce different results.
Seed
The random seed to produce a deterministic result. Only used when "Use seed" is enabled.
Draw seed
Generate a random seed and set it in the seed input above for reproducible runs.

Input Ports

Icon
Original table (these rowkeys stay).
Icon
New table (these rows are appended to the rows of the first table).

Output Ports

Icon
rows starting with cells from a row from the first table and then the cells from a row from the second table follow.

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.