# tAggregateRow MapReduce properties (deprecated)

Availability-note[Deprecated](https://help.talend.com/r/en-US/Cloud/labels-on-talend-help-center/availability-deprecated)

This content is deprecated.

These properties are used to configure tAggregateRow running in the MapReduce Job framework.

The MapReduce tAggregateRow component belongs to the Processing family.

The component in this framework is available in all Talend products with Big Data and Talend Data Fabric.

Availability-note[Deprecated](https://help.talend.com/r/en-US/Cloud/labels-on-talend-help-center/availability-deprecated)

This content is deprecated.

The MapReduce framework is deprecated from Talend 7.3 onwards. Use Talend Jobs for Apache Spark to accomplish your integration tasks.

## Basic settings

| Schema and Edit<br>Schema | A schema is a row description. It defines the number of fields<br>(columns) to be processed and passed on to the next component. When you create a Spark<br>Job, avoid the reserved word line when naming the<br>fields.<br><br>Click Edit<br>schema to make changes to the schema. If the current schema is of the Repository type, three options are available:<br><br><ul> <li> <p> <span>View schema</span>: choose this                option to view the schema only.</p> </li> <li> <p> <span>Change to built-in property</span>:                choose this option to change the schema to <span>Built-in</span> for local changes.</p> </li> <li> <p> <span>Update repository connection</span>:                choose this option to change the schema stored in the repository and decide whether                to propagate the changes to all the Jobs upon completion. If you just want to                propagate the changes to the current Job, you can select <span>No</span> upon completion and choose this schema metadata                again in the <span>Repository Content</span>                window.</p> </li> </ul> |
| --- | --- |
|  | Built-In: You create and store the schema locally for this component<br>only. |
|  | Repository: You have already created the schema and stored it in the<br>Repository. You can reuse it in various projects and Job designs. |
| Group by | Define the aggregation sets, the values of which will be used for<br>calculations. |
|  | Output Column: Select the column<br>label in the list offered based on the schema structure you defined.<br>You can add as many output columns as you wish to make more precise<br>aggregations.<br><br>Ex: Select Country to calculate an average of values for each<br>country of a list or select Country and Region if you want to<br>compare one country's regions with another country' regions. |
|  | Input Column: Match the input<br>column label with your output columns, in case the output label of<br>the aggregation set needs to be different. |
| Operations | Select the type of operation along with the value to use for the<br>calculation and the output field. |
|  | Output Column: Select the<br>destination field in the list. |
|  | Function: Select the operator among:<br><br><ul> <li> <p> <span>count</span>: calculates the number of rows</p> </li> <li> <p> <span>min</span>: selects the minimum value</p> </li> <li> <p> <span>max</span>: selects the maximum value</p> </li> <li> <p> <span>avg</span>: calculates the average</p> </li> <li> <p> <span>sum</span>: calculates the sum</p> </li> <li> <p> <span>list</span>: lists values of an aggregation by multiple keys.</p> </li> <li> <p> <span>list (object)</span>: lists Java values of an aggregation by multiple keys</p> </li> <li> <p> <span>count (distinct)</span>: counts the number of the distinct rows</p> </li> <li> <p> <span>standard deviation</span>: calculates the                                    variability of a set of value.</p> </li> <li> <p> <span>union (geometry)</span>: makes the union of a set of Geometry objects</p> </li> </ul><br><br>Some functions that are available in a traditional ETL Job, such as first or last, are not available in MapReduce Jobs because these functions does not make sense in a distributed environment. |
|  | Input column: Select the input<br>column from which the values are taken to be aggregated. |
|  | Ignore null values: Select the<br>check boxes corresponding to the names of the columns for which you<br>want the NULL value to be ignored. |

## Advanced settings

| Delimiter(only for list operation) | Enter the delimiter you want to use to separate the different<br>operations. |
| --- | --- |
| Use financial precision, this is the max precision for<br>"sum" and "avg" operations, checked option heaps more memory and<br>slower than unchecked. | Select this check box to use a financial precision. This is a max<br>precision but consumes more memory and slows the processing.<br><br>Information noteWarning:<br><br><br>*We advise you to use the BigDecimal type for the<br>output in order to obtain precise results.* |
| Check type overflow (slower) | Checks the type of data to ensure that the Job doesn't<br>crash. |
| Check ULP (Unit in the Last Place), ensure that a value<br>will be incremented or decremented correctly, only float and<br>double types. (slower) | Select this check box to ensure the most precise results possible<br>for the Float and Double types. |

## Global Variables

| Global Variables | ERROR\_MESSAGE: the error message generated by the component when an<br>error occurs. This is an After variable and it returns a string. This variable functions<br>only if the Die on error check box<br>is cleared, if the component has this check<br>box.<br><br>A Flow variable functions during the execution of a component<br>while an After variable functions after the execution of the component.<br><br>To fill up a field or expression with a<br>variable, press Ctrl + Space to<br>access the variable list and choose the variable to use from it.<br><br>For further information about variables, see *Talend Studio*<br>*User Guide*. |
| --- | --- |

## Usage

| **Usage rule** | In a<br>Talend<br>Map/Reduce Job, this component is used as an intermediate<br>step and other components used along with it must be Map/Reduce components, too. They<br>generate native Map/Reduce code that can be executed directly in Hadoop.<br><br>For further information about a<br>Talend<br>Map/Reduce Job, see the sections<br>describing how to create, convert and configure a<br>Talend<br>Map/Reduce Job of the<br>**Talend Big Data Getting Started Guide**.<br><br>Note that in this documentation, unless otherwise<br>explicitly stated, a scenario presents only Standard Jobs,<br>that is to say traditional<br>Talend<br>data integration Jobs, and non Map/Reduce Jobs. |
| --- | --- |