Procedure
-
Double-click tKuduInput to open its
Component view.
Example
-
Click the [...] button next to Edit
schema to open the schema editor.
-
Click the [+] button to add the schema columns for
output as shown in this image.
Example
-
In the Type field, select Integer
as data type for the age column.
-
In the Key column, select the check box for the
age column because this is the primary key
column.
-
Click OK to validate these changes and accept the
propagation prompted by the pop-up dialog box.
-
In the Table name field, enter the name of the table
from which you need to read data. In this scenario, it is
ychen_kudu.
-
In the Query mode area, select the Use
scan radio button to read all the data from the Kudu
table.
-
Double-click tLogRow to open its
Component view and select the Table radio button to present the result in a
table.
-
Press
F6
to run this Job.
Results
Once done, in the console of the Run view, you
can check the data read from the Kudu table.
The record 04;tom;60
is not written in the table because it is out
of the partition boundaries.
In the real-world practice, upon the
success of the execution, you could deploy and launch your Job on a Talend JobServer if you have one.
For related
information, search for running a Job remotely on Talend Help Center (https://help.talend.com).