Skip to main content Skip to complementary content

tPivotToColumnsDelimited Standard properties

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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!