Modulo Integer¶
Overview¶
The Modulo Integer operator performs modulo operations on integer fields to generate new fields.
Input and Output¶
Input: integer fields
Output: new fields
Parameter Description¶
Parameter | Description | Type | Mandatory | Default Value |
---|---|---|---|---|
Modulo fields | Modulo operation information:
| map | Yes | None |
Data Processing Rule¶
The operator generates new fields and the values are those after the modulo operation.
The field values must be integers; otherwise, the current line becomes dirty data.
Example¶
Use the CSV File Input operator to generate fields A and B.
The following figure shows the source file.
Configure the Modulo Integer operator to generate two new fields C and D.
After the modulo operation, fields A, B, C, and D are generated, as shown in the following figure.