# tLogRow properties for Apache Spark Structured Streaming

[Preview](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Introduction/feature-preview-program-overview.htm)

Use these properties to configure tLogRow running in the Spark Structured Streaming Job framework.

The Spark Structured Streaming tLogRow component belongs to the Misc family.

This component is available in Talend Real-Time Big Data Platform and Talend Data Fabric.

## Basic settings

| Properties | Description |
| --- | --- |
| Schema and Edit<br>schema | <ul> <li> <p>A schema is a row description. It defines the number of fields            (columns) to be processed and passed on to the next component. When you create a Spark            Job, avoid the reserved word <kbd>line</kbd> when naming the            fields.</p> <p>Click <span>Edit        schema</span> to make changes to the schema. If the current schema is of the <span>Repository</span> type, three options are available:</p> <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.</p> <p>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> </li> <li> <p> <span>Built-In</span>: You create and store the schema locally for this component                only.</p> </li> <li> <p> <span>Repository</span>: You have already created the schema and stored it in the                Repository. You can reuse it in various projects and Job designs.</p> </li> </ul> |
| Basic | Displays the output flow in Basic mode. The following properties are available in this mode:<br><br><ul> <li><span>Field Separator</span>: Enter the separator to delimit data in the log display.</li> <li><span>Print header</span>: Select this check box to include the header of the input flow in the output display.</li> <li><span>Print component unique name in front of each output row</span>: Select this check box to show the unique name of the component in front of each output row, to differentiate outputs when several <span>tLogRow</span> components are used.</li> <li><span>Print schema column name in front of each value</span>: Select this check box to retrieve column labels from the output schema.</li> <li><span>Use fixed length for values</span>: Select this check box to use a fixed length for the value display.</li> </ul> |
| Table | Displays the output flow in table cells. |
| Vertical | Displays each row of the output flow as a key-value list. Select how to identify each output row in the Title printing mode field:<br><br><ul> <li><span>Print unique name</span>: Shows the unique name of the component.</li> <li><span>Print label</span>: Shows the label of the component.</li> <li><span>Print unique name and label</span>: Shows both the unique name and the label.</li> </ul> |
| Output mode | Select the output mode from the drop-down list:<br><br><ul> <li><span>Append</span>: Adds new rows to the output without                        modifying existing rows.</li> <li><span>Complete</span>: Overwrites the entire output with the                        updated result after every trigger.</li> <li><span>Update</span>: Writes only the rows that were updated since                        the last trigger.</li> </ul><br><br>Information noteNote: When groupBy is enabled, set the output mode to<br>Complete or Update. If<br>groupBy is not used, set the output mode to<br>Append. |
| Set trigger | Select this check box to set a trigger for the streaming query:<br><br><ul> <li><span>Available now</span>: Processes all available data and stops.</li> <li><span>Fixed interval</span>: Processes data at a fixed time interval. In the <span>Duration</span> field, enter the interval. For example, <span>10 seconds</span>.</li> </ul> |

## Advanced settings

| Properties | Description |
| --- | --- |
| Use local timezone for date | Select this check box to use the local date of the machine in which your Job is executed. If leaving this check box clear, UTC is automatically used to format the Date-type data. |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | This component is used as an intermediate or an end step.<br><br>This component, along with the Spark Structured Streaming component Palette it belongs to,<br>appears only when you are creating a Spark Structured Streaming Job.<br><br>Note that in this documentation, unless otherwise explicitly stated, a scenario presents<br>only Standard Jobs, that is to say traditional<br>Talend<br>data<br>integration Jobs. |
| Spark Connection | You need to use the Structured Streaming Configuration<br>tab in the Run view to define the connection to a Spark cluster for<br>the whole Job.<br><br>This connection is effective on a per-Job basis. |