Sample Rows
Description
The Sample Rows transform retains a sample set of rows.
Options
| Option | Description |
|---|---|
Transform name |
the name for this transform |
Lines range |
Specify a comma separated list of rows you want to sample.
This list can contain single line numbers or line number ranges, e.g |
Line nr fieldname |
fieldname to store the line number |
Samples
The samples project has transforms/sample-rows.hpl, which keeps the rows 1, 3 and 5 to 7 of 10 rows from a Data grid, and adds the row number in the field rownum.