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

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




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