Added by Matt Casters, last edited by Matt Casters on Jul 10, 2008  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

Description

This step generates random numbers, integers, strings and even UUID

Version

This step was first introduced in version 3.1.0-RC1 (PDI-1040)

Options

Property Description
Name The name of the new field that will contain the random value
Type
The type of data you want to get back:
  • Random number : generates a random number between 0 and 1
  • Random integer : generates a random 32-bit integer
  • Random string : generates a random string based on a 64-bit long random value
  • Universally Inique Identifier (UUID)

Example

The following example is also available in the samples/transformations folder of the Kettle distribution under the name

Generate random value - all usecases.ktr