tRowGenerator Standard properties
These properties are used to configure tRowGenerator running in the Standard Job framework.
The Standard tRowGenerator component belongs to the Misc family.
The component in this framework is available in all Talend products.
Basic settings
| Properties | Description |
|---|---|
|
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:
|
|
RowGenerator editor |
The editor allows you to define the columns and the nature of data to be generated. You can use predefined routines or type in the function to be used to generate the data specified. |
Advanced settings
| Properties | Description |
|---|---|
|
tStatCatcher Statistics |
Select this checkbox to collect log data at the component level. |
Global Variables
| Variables | Description |
|---|---|
|
Global Variables |
NB_LINE: the number of rows processed. 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 checkbox is cleared, if the component has this checkbox. 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 guidance | Description |
|---|---|
|
Usage rules |
The tRowGenerator Editor's ease of
use allows users without any Java knowledge to generate random data for test
purposes. Information noteNote: When running on Java 17 or later, the
getAsciiRandomString function uses the
SHA1PRNG algorithm to generate random strings, restoring
the performance of earlier Java versions. If SHA1PRNG is
unavailable in your runtime environment, the component falls back to the JDK or
OS default algorithm automatically.
|