Creating a generic schema from the existing metadata
Any schema can be easily converted into a generic schema to enable it to be re-used. The following recipe shows two methods of creating generic schemas; the first from a pre-existing schema in the metadata repository and the second from a built-in schema.
How to do it…
From repository schema
- Open repository schema
fd_cook_0020_customerDelimited
that can be found in the delimited schemas section under Chapter2, ensuring that you click the metadata, rather than the parent schema. - Right-click metadata, and then select copy to Generic schema. This creates a schema
fd_cook_0020_customerDelimited
. - Move the new schema to the chapter 2 folder and double click it to edit it.
- Change the name to
sc_cook_0020_genericCustomer1
.
From a built-in schema
- Open the Talend Job
jo_cook_ch02_0020_builtInSchema
and open thetFileOutput Delimited
component. - Click the highlighted button, shown in the following screenshot:
- This will open a windows file save dialogue...