display-medicalHello World

Simple transformation to illustrate key concepts ..

circle-exclamation

Workshop - Hello World

What is a Transformation?

circle-info

Create a new transformation

Use any of these options to open a new transformation tab:

  • Select File > New > Transformation

  • Use Ctrl+N (Windows/Linux) or Cmd+N (macOS)

hello world.tr
file-download
15KB
circle-info

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.

  1. Start Pentaho Data Integration (Spoon).

circle-info
  1. In the Design tab, expand the Input category.

  2. Drag Generate Rows onto the canvas.

circle-info

Tip: You can also search for Generate Rows.

Generate rows
  1. Double-click Generate Rows to open the step properties.

Generate rows - settings

Ensure the following details are configured:

Step name

gr_hello-world

Limit

10

Name

message

Type

string

Value

hello world

circle-info

Before you close the dialog, preview the data.

  1. Select Preview. The Enter preview size dialog opens.

Preview rows
  1. In Enter preview size, select OK.

  2. Verify the 10 rows. Then select OK to close the preview dialog.

  3. Select OK to close the Generate Rows dialog.


Last updated

Was this helpful?