Hello World
Simple transformation to illustrate key concepts ..

Generate Rows
Generate Rows outputs a specified number of rows. By default, the rows are empty. You can also generate static fields for test data. For example, generate 12 rows for 12 months.
Generate Rows is also useful as a single-row “starter” step.
Start Pentaho Data Integration (Spoon).
In the Design tab, expand the
Inputcategory.Drag Generate Rows onto the canvas.

Double-click Generate Rows to open the step properties.

Ensure the following details are configured:
Step name
gr_hello-world
Limit
10
Name
message
Type
string
Value
hello world
Select Preview. The Enter preview size dialog opens.

In Enter preview size, select OK.
Verify the 10 rows. Then select OK to close the preview dialog.
Select OK to close the Generate Rows dialog.
Select the
gr_hello-worldstep.Hold down the Shift key.
Drag and drop the hop onto the Dummy step.
Release the Shift key.
Add a note
Right-click anywhere on the Spoon canvas.
Select New note.


Transformation properties
To view the transformation properties:
Double-click anywhere on the canvas.

In Spoon, select Action > Run this transformation.
In the run dialog, open Run options.


The transformation executes.


Logging tab displays logging information for each of the steps in the transformation.




Last updated
Was this helpful?

