One Row to Many

Each row is duplicated according to the number in the specified integer column. For example, you can use this node to create individual items in a shopping basket if you only have the number of items per basket, and then continue processing the duplicated rows.

Options

Prefix
The prefix for the new RowID. The new RowID is subsequently oldRowID + prefix + counter, where the counter is a number from 1 to the number of new rows.
Amounts
The integer column defining how many times the corresponding row is included in the output (e.g., the number of items in a shopping basket.) Rows with a value smaller than 1 are omitted.

Input Ports

Icon
Data containing one int column.

Output Ports

Icon
Same data but with multiplied rows.

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.