Groups and sorts data and outputs several rows from the first one of the data in each group.
tTopBy groups the input data by applying user-defined keys, sorts records in each group and sends to its following component a given number of first rows of the sorted records.
For more technologies supported by Talend, see Talend components.
Depending on the Talend product you are using, this component can be used in one, some or all of the following Job frameworks:
Spark Batch: see tTopBy properties for Apache Spark Batch.
Spark Streaming: see tTopBy properties for Apache Spark Streaming.