Generate Batch
Synopsis
This operator can be used for creating a new attribute dividing the data into batches of the same size.
Description
This operator generates a new special batch column which divides the data into a specified number of batches. Those batches are assigned by using the mod function on the row number, counting starts with 1.
Input
example set input
This input port expects a data set.
Output
example set output
The input data plus a new batch column.
Parameters
Batch attribute name
The name of the newly created batch attribute. This name is also used as the special role.
Number of batches
The desired number of batches.