Calculates a "structure hash" which is equal for similarly structured input.
Function Traits: FieldComputationFunction
, Transformation
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
as | string | optional | _tokenHash | The name of output field. |
field [a] | string | required | The name of the field to hash. | |
The parameter name for field
can be omitted; the following forms are equivalent:
logscale
tokenHash("value")
and:
logscale
tokenHash(field="value")
tokenHash()
Examples
Replace the value in the ssn field with the hash of the existing value, also replacing it in @rawstring
logscale
tokenHash(ssn)