# tHMapRecord (deprecated)

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

This content is deprecated.

Information noteNote: This component is not shipped with your Talend Studio by default. To use it, you need to install the Data Mapper &gt; Talend Data Mapper for Spark feature using the Feature Manager. For more information, see [Installing features using the Feature Manager](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/install-features-to-talend-studio).

Runs a Talend Data Mapper map where input and output structures may differ, as a Spark streaming execution.

Information noteDeprecation: Spark Streaming is deprecated beginning with the R2026-09 release. Use Spark Structured Streaming instead.

Information noteWarning: This component is available in the Palette of Talend Studio only if you have subscribed to one of the Talend solutions with Big Data.

tHMapRecord takes one input connection from an upstream component and one or many output connections to other components, in a Spark environment.

## tHMapRecord properties for Apache Spark Streaming

These properties are used to configure tHMapRecord running in the Spark Streaming Job framework.

The Spark Streaming tHMapRecord component belongs to the Processing family.

The component in this framework is available in Talend Real-Time Big Data Platform and in Talend Data Fabric.

## Basic settings

| Properties | Description |
| --- | --- |
| Storage | To connect to an HDFS installation, select the Define a storage configuration component check<br>box and then select the name of the component to use from those available in<br>the drop-down list.<br><br>This option requires you to have previously configured the<br>connection to the HDFS installation to be used, as described in the<br>documentation for the tHDFSConfiguration<br>component.<br><br>If you leave the Define a storage<br>configuration component check box unselected, you can only<br>convert files locally. |
| Open Map Editor | Click the [...] button<br>to open the Structure Generate/Select<br>wizard.<br><br>You can first select the type of map to create:<br><br><ul> <li><span>Standard Map</span>: Map that perform mappings using                                functions based on xQuery</li> <li><span>DSQL Map</span>: Map that performs mappings using                                    <span>Data Shaping Query Language</span>.</li> </ul><br><br><br>You can select the Don't ask me again check box<br>to save this preference. For more information about these map types, see<br>[Working with maps](https://help.qlik.com/talend/r/en-US/8.0/data-mapper-user-guide/working-with-maps).<br><br>Information noteNote: This option is available only if you have installed the<br>R2023-10 Studio monthly update or a later one delivered by Talend. For more information, check with your administrator.<br><br>Then you can either have the hierarchical mapper structure generated<br>automatically based on the schema, or select an existing hierarchical mapper<br>structure. You must do this for both the input and output sides of your Map.<br>The following lists the options for the output structure:<br><br><ul> <li> <span>Generate hierarchical mapper structure based on the                                    schema</span> option: When you connect multiple output                                connections to the tHMap, the page displays a confirmation message                                that informs you that the mapper structures are generated based on                                the output connections.</li> <li> <span>Select an existing hierarchical mapper                                    structure</span> option: You can connect multiple outputs                                that are payload-based connections to the tHMap. If there is a                                single payload-type connection, you can select the <span>Allow                                    support for multiple output connections</span> check box.                                The generated output map inherits from the existing payload                                structure.</li> </ul><br><br>If Talend Studio detects multiple output connections available, the window displays both<br>output structure options without the support for multiple output connections<br>check boxes.<br><br>If neither input nor output connection exists, the Structure Selection page<br>is displayed. |
| Synchronize map with schema connections | Select this check box if you want to automatically regenerate<br>your map's input and output structures after one of the following changes:<br><br><ul> <li>Connection metadata change</li> <li>Input or output connection added</li> <li>Input or output connection removed</li> </ul><br><br><br>No changes are detected when a connection is activated or deactivated.<br><br>If this check box is selected, the map is automatically<br>synchronized when opened from the component after a change. If not, a dialog appears to<br>ask whether you want to synchronize.<br><br>Information noteNote: For structures with multiple<br>connections, the map can only be synchronized if the structures have the same form<br>as the ones generated by the component configuration wizard. For example, flattening<br>maps with multiple outputs cannot be synchronized automatically. |
| Map Path | Click [...] to select an<br>existing map. The window displays a wizard that allows you to select a map from<br>the Hierarchical Mapper view of Talend Data Mapper. |
| Die on error | Select the checkbox to stop the execution of the Job when an error occurs.<br><br>Clear the checkbox to skip any error and continue the Job execution process. |

## Advanced settings

| Properties | Description |
| --- | --- |
| Use old Eclipse runtime (deprecated) | Select this check box to include the old Eclipse runtime in<br>your Job.<br><br>Information noteNote: This option is available only if you have<br>installed the R2024-03 Talend Studio<br>monthly update or a later one delivered by Talend.<br>For more information, check with your administrator.<br><br>Information noteNote: From Talend Studio 8.0 R2025-04<br>onwards, the Use old Eclipse runtime (deprecated) parameter<br>has been removed. |

## Usage

| Usage guidance | Description |
| --- | --- |
| Usage rule | This component is used with a tHDFSConfiguration component which defines the connection to the<br>HDFS storage, or as a standalone component for mapping local files only. |
| Drag-and-drop feature | If you have an existing tHMapRecord map in the Data Mapping view, you<br>can easily drag-and-drop the map:<br><br><ul> <li>When you drag-and-drop the tHMapRecord map into the design workspace, the                        tHMapRecord component is automatically created</li> <li>When you drag-and-drop the tHMapRecord map into an existing tHMapRecord                        component, the label and the map reference of the component are                        automatically updated</li> </ul> |
| Usage with Talend Runtime | If you want to deploy a Job or Route containing a data mapping component<br>with Talend Runtime, you first need to install the Talend Data Mapper feature. For more information, see [Using Talend Data Mapper with Talend Runtime](https://help.qlik.com/talend/r/en-US/8.0/data-mapper-user-guide/using-talend-data-mapper-with-talend-runtime). |

**Related concepts**

* [Connecting tHMapRecord to multiple outputs](https://help.qlik.com/talend/en-US/components/8.0/data-mapping/thmaprecord-tfixedflowinput-tlogrow-tlogrow-connecting-thmaprecord-to-multiple-outputs-in-this "You can design a Job that includes an input connection, the tHMapRecord, and multiple output connections of schema or payload types.")