Procedure
-
Double-click tIngresConnection to open
its Basic settings view in the Component tab.
-
In the Server field, enter the address of
the server where the Ingres DBMS resides, for example "localhost".
Keep the default settings of the Port field.
- In the Database field, enter the name of the Ingres database, for example "research".
-
In the Username and Password fields, enter the authentication
credentials.
A context variable is used for the password here. For more information on context variables, see Using contexts and variables.
-
Double-click tFileInputDelimited to open
its Basic settings view in the Component tab.
- Select the source file by clicking the [...] button next to the File name/Stream field.
-
Click the [...] button next to the
Edit schema field to open the schema
editor.
-
Click the [+] button to add four columns,
for example name, age,
job and dept, with the data
type as string, Integer, string and
string respectively.
Click OK to close the schema editor.Click Yes on the pop-up window that asks whether to propagate the changes to the subsequent component.Leave other default settings unchanged.
-
Double-click tIngresOutputBulkExec to
open its Basic settings view in the
Component tab.
- In the Table field, enter the name of the table for data insertion.
- In the VNode and Database fields, enter the names of the VNode and the database.
- In the File Name field, enter the full path of the file that will hold the data of the source file.