Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Description

This step calculates checksums for one or more fields in the input stream and adds this to the output as a new field.

Options

Option

Description

Step name

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

Type

The type of checksum that needs to be calculated.  These are the types that are available:

Result Type

Some checksum types allow to set different result types: String, Hexadecimal and Binary

Result field

The name of the result field containing the checksum

Compatibility Mode

Check this to be compatible with transformations that were created with a PDI version before 4.2.0. Before 4.2.0 there have been issues with a wrong hexadecimal encoding when Result Type is set to Hexadecimal (see details in PDI-5190).

Fields used in the checksum

The names of the fields to include in the checksum calculation.
Note: You can use the "Get Fields" button to insert all input fields from previous steps.

Example

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

samples/transformations/Add a checksum - Basic CRC32 example.ktr



  • No labels