# tSchemaComplianceCheck 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 tSchemaComplianceCheck running in the MapReduce Job framework.

The MapReduce tSchemaComplianceCheck component belongs to the Data Quality 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

| Base Schema and Edit 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>It describes the structure and nature of your data to be processed as<br>it is.<br><br><br>Built-In: You create and store the schema locally for this component<br>only.<br><br><br>Repository: You have already created the schema and stored it in the<br>Repository. You can reuse it in various projects and Job designs. |
| --- | --- |
| Check all columns from schema | Select this option to carry out all checks on all columns against<br>the base schema. |
| Custom defined | Select this option to carry out particular checks on particular<br>columns. When this option is selected, the Checked Columns table shows. |
| Checked Columns | In this table, define what checks are to be<br>carried out on which columns. This table appears when you select the<br>Custom defined option. |
|  | Column: Displays the columns<br>names. |
|  | Type: Select the type of data<br>each column is supposed to contain. This validation is mandatory for<br>all columns. |
|  | Date pattern: Define the expected<br>date format for each column with the data type of<br>*Date*. |
|  | Nullable: Select the check box in<br>an individual column to define the column to be nullable, that is,<br>to allow empty rows in this column to go to the output flow<br>regardless of the base schema definition. To define all columns to<br>be nullable, select the check box in the table header. |
|  | Max length: Select the check box<br>in an individual column to verify the data length of the column<br>against the length definition of the base schema. To carry out this<br>verification on all the columns, select the check box in the table<br>header. |
| Use another schema for compliance check | Define a reference schema as you expect the data to be, in order<br>to reject the non-compliant data.<br><br>It can be restrictive on data type, null values, and/or<br>length. |
| Trim the excess content of column when length checking<br>chosen and the length is greater than defined length | With any of the three modes of tSchemaComplianceCheck, select this check box to<br>truncate the data that exceeds the length specified rather than<br>reject it.<br><br>Information noteNote:<br><br>This option is applicable only on data of String type. |

## Advanced settings

| Use Fastest Date Check | Select this check box to perform a fast date format check using<br>the *TalendDate.isDate()* method of the<br>*Talend Date* system routine if<br>*Date pattern* is not defined. For more<br>information about routines, see *Talend Studio User<br>Guide*. |
| --- | --- |
| Ignore TimeZone when Check Date | Select this check box to ignore the time zone setup upon date<br>check.<br><br>Not available when the Check all columns<br>from schema mode is selected. |
| Treat all empty string as NULL | Select this check box to treat any empty fields in any columns as<br>null values, instead of empty strings.<br><br>By default, this check box is selected. When it is cleared, the<br>Choose Column(s) table shows to<br>let you select individual columns. |

## 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>It does not support data of the Object and the List<br>types.<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. |
| --- | --- |