Clone row

Description

This step creates copies (clones) of a row and outputs them directly after the original row to the next steps.

Options

Option

Description

Step name

Name of the step. Note: This name has to be unique in a single transformation.

Nr clones

The number of clones you want to add after the original row.

Add clone flag

Check this option if you want to add a boolean field in the output indicating if the row is a clone or not.

  • N / false : this is not a cloned row, it's the original row
  • Y / true : this is a cloned row, a copy of the original row

Clone flag field

The name of the clone flag field

Example

A simple sample can be found in this folder of your Kettle distribution:

samples/transformations/Clone row - Basic example.ktr