Index Distinct
Assigns index numbers to distinct values
Processing
For every row, the step looks at a given subject value. Each distinct value seen is assigned an integer index value, starting at 0 and incrementing as more distinct values are encountered.
The index value for the current row’s subject value is available as results.index
The step indicates whether a subject value has been seen before in results.duplicate
Settings
Name | Type | Description |
---|---|---|
Subject |
string |
The subject value. Evaluated for each input row |
Results
Name | Type | Description |
---|---|---|
index |
long | Index assigned to current subject value. |
duplicate |
boolean |
Set to true if current subject value has been seen before, false otherwise. |