Overview
Within the plugin:
The following settings can be configured:
Setting | Description |
---|---|
Step Name | Allows you to name the step to differenicate it from others with the same default name. |
Grouping Field | This is the field that will be used to “Group” the rows before comparision and sorting. If the Step is used within alteiran CX this MUST be the Sequence Number. |
Output field name | Name of the Output field |
Fieldname | Name of the field on the stream to sort on. |
Ascending | Specify Y to sort in ascending order. Specify N to sort in descending order |
Case Sensitive Compare | Specify Y to sort by case usage. Specify N to ignore case. |
Sort based on current locale? | Specify Y to sort based on the system's current locale. Specify N to sort based on a standard UTF-8. |
Commonly used other Steps
The Alterian Sort Rows step will often be used with the existing Kettle steps Row denormaliser and Row normaliser. These steps were previously not valid within Alterian CX, indeed because we did not have the ability to have multiple rows from a single invoke they would have had no purpose.
Now with our ability to support multiple rows from a single input these become useful and are now supported.
Row Normaliser
The Row Normaliser step converts the columns of an input stream into rows. You can use this step to normalize repeating groups of columns converting these into the multiple rows for sorting. This has a similar usage pattern to the JSON Decoder step that is commonly used.
Row Denormaliser
The Row denormaliser step can be used to try to improve performance either by adding redundant copies of data values or by grouping data. You can also use this step to convert data types.
When used with the Sort and Normaliser this allows you to pull your sorted fields back into one field to pass back in the call.