...
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Examples
...
Example:
...
Sorting usernames in a CSV file by the Sort Snap
The example Pipeline below shows how the usernames in a CSV file are parsed as a document, sorted, and converted back as a CSV file.
...
Configure the File Reader Snap with a CSV file with multiple records.
The CSV Parser Snap reads the CSV data from the input and parses and writes the document data to the output.
Configure the Sort Snap with the fields in the document input data. The Sort Snap sorts the input data in ascending order.
Sort Snap configuration | Sort Snap output |
---|---|
4. Configure the CSV Formatter Snap with the sorted data to convert into a CSV output.
...
Download the Pipeline