# tSample

Returns a sample subset of the data being processed.

tSample generates a sample dataset from the incoming flow.

For more technologies supported by Talend, see [Talend components](https://help.qlik.com/talend/r/en-US/7.3/components/processing).

Depending on the Talend product you are using, this component can be used in one, some or all of the following Job frameworks:

* MapReduce: see [tSample MapReduce properties (deprecated)](https://help.qlik.com/talend/en-US/components/7.3/processing/tsample-mapreduce-properties-deprecated).

* Spark Batch: see [tSample properties for Apache Spark Batch](https://help.qlik.com/talend/en-US/components/7.3/processing/tsample-properties-for-apache-spark-batch).

### In this section

* [tSample MapReduce properties (deprecated)](https://help.qlik.com/talend/en-US/components/7.3/processing/tsample-mapreduce-properties-deprecated)
* [tSample properties for Apache Spark Batch](https://help.qlik.com/talend/en-US/components/7.3/processing/tsample-properties-for-apache-spark-batch)