tPivotToColumnsDelimited Standard properties - Cloud - 8.0

Delimited

Version
Cloud
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > File components (Integration) > Delimited components
Data Quality and Preparation > Third-party systems > File components (Integration) > Delimited components
Design and Development > Third-party systems > File components (Integration) > Delimited components
Last publication date
2024-02-29

These properties are used to configure tPivotToColumnsDelimited running in the Standard Job framework.

The Standard tPivotToColumnsDelimited component belongs to the File family.

The component in this framework is available in all Talend products.

Basic settings

Pivot column

Select the column from the incoming flow that will be used as pivot for the aggregation operation.

Aggregation column

Select the column from the incoming flow that contains the data to be aggregated.

Aggregation function

Select the function to be used in case several values are available for the pivot column.

Group by

Define the aggregation sets, the values of which will be used for calculations.

 

Input Column: Match the input column label with your output columns, in case the output label of the aggregation set needs to be different.

File Name

Name or path to the file to be processed and/or the variable to be used.

For further information about how to define and use a variable in a Job, see Using contexts and variables.

Field separator

Character, string or regular expression to separate fields of the output file.

Row separator

String (ex: "\n"on Unix) to distinguish rows in the output file.

Advanced Settings

Advanced separator (for numbers) Select this check box to change the separator used for numbers. By default, the thousands separator is a comma (,) and the decimal separator is a period (.). This option is not available for a Sequence file.
CSV options Select this check box to specify the following CSV parameters:
  • Escape char: Enter the escape character between double quotation marks.
  • Text enclosure: Enter the enclosure character (only one character) between double quotation marks. For example, """ needs to be entered when double quotation marks (") are used as the enclosure character.

    It is recommended to use standard escape character, that is "\". Otherwise, you should set the same character for Escape char and Text enclosure. For example, if the escape character is set to "\", the text enclosure can be set to any other character. On the other hand, if the escape character is set to other character rather than "\", the text enclosure can be set to any other characters. However, the escape character will be changed to the same character as the text enclosure. For instance, if the escape character is set to "#" and the text enclosure is set to "@", the escape character will be changed to "@", not "#".

Encoding Select the encoding from the list or select CUSTOM and define it manually. This field is compulsory for database data handling. The supported encodings depend on the JVM that you are using. For more information, see the Oracle documentation.
Don't generate empty file Select this check box if you do not want to generate empty files.
tStatCatcher Statistics Select this check box to gather the Job processing metadata at a Job level as well as at each component level.

Global Variables

Global Variables

NB_LINE: the number of rows read by an input component or transferred to an output component. This is an After variable and it returns an integer.

NB_LINE_OUT: the number of rows written to the file by the component. This is an After variable and it returns an integer.

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl+Space to access the variable list and choose the variable to use from it.

For more information about variables, see Using contexts and variables.

Usage

Usage rule

This component requires an input flow.

Limitation

Due to license incompatibility, one or more JARs required to use this component are not provided. You can install the missing JARs for this particular component by clicking the Install button on the Component tab view. You can also find out and add all missing JARs easily on the Modules tab in the Integration perspective of Talend Studio. For details, see Installing external modules.