Access Keys:
Skip to content (Access Key - 0)

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 Unique Identifier (UUID)
  • Universally Unique Identifier type 4 (UUID4)
  • Random Message Authentication Code (HmacMD5)
  • Random Message Authentication Code (HmacSHA1)

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



This documentation is maintained by the Pentaho community, and members are encouraged to create new pages in the appropriate spaces, or edit existing pages that need to be corrected or updated.

Please do not leave comments on Wiki pages asking for help. They will be deleted. Use the forums instead.

Adaptavist Theme Builder (4.2.0) Powered by Atlassian Confluence 3.3.3, the Enterprise Wiki