Add a checksum
Description
The Add a Checksum transform calculates checksums for one or more fields in the input stream and adds this to the output as a new field.
Options
| Option | Description |
|---|---|
Transform name |
Name of the transform. Note: This name has to be unique in a single pipeline. |
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. CRC32, ADLER32 and Hash code always return an Integer. Result type does not apply to them. |
Result field |
The name of the result field containing the checksum |
Prefix |
An optional string to prepend before the field values when building the input for the checksum calculation.
This is useful to distinguish hash keys from different topics, for example |
Separator |
An optional string to insert between the field values when building the input for the checksum calculation. This helps generate more unique hash codes when multiple fields are concatenated. Ignored for Hash code. |
Suffix |
An optional string to append after the field values when building the input for the checksum calculation. Like the prefix, this can be used to distinguish hash keys from different topics. Ignored for Hash code. |
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 transforms. |
See also
-
CDC: comparing snapshots — storing an MD5 or SHA hash of a row and comparing it on the next run
-
Combination lookup/update — store this hash code on a junk dimension, or let that transform read a hash you calculated here