tConvertType Standard properties
These properties are used to configure tConvertType running in the Standard Job framework.
The Standard tConvertType component belongs to the Processing family.
The component in this framework is available in all Talend products.
Basic settings
Schema and Edit Schema |
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 line when naming the fields. Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
|
|
Built-In: You create and store the schema locally for this component only. |
|
Repository: You have already created the schema and stored it in the Repository. You can reuse it in various projects and Job designs. |
Auto Cast |
This check box is selected by default. It performs an automatic java type conversion. |
Manual Cast |
This mode is not visible if the Auto Cast check box is selected. It allows you to precise manually the columns where a java type conversion is needed. |
Set empty values to Null before converting |
This check box is selected to set the empty values of String or Object type to null for the input data. |
Die on error
Information noteNote:
Not available for Map/Reduce Jobs. |
This check box is selected to kill the Job when an error occurs. |
Advanced settings
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 |
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. 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. 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 further information about variables, see Talend Studio User Guide. |
Usage
Usage rule |
This component cannot be used as a start component as it requires an input flow to operate. |