Skip to main content

spEnrichedSetPk

spEnrichedSetPk: Specific to Snowplow data. Sets the message's destination partition key to an atomic field from a Snowplow Enriched tsv string. The input data must be a valid Snowplow enriched TSV.

SpEnrichedSetPk only takes one option โ€” the field to use for the partition key.

Example:

assets/docs/configuration/transformations/snowplow-builtin/spEnrichedSetPk-minimal-example.hcl
loading...

Note: currently, setting partition key to fields in custom events and contexts is unsupported.

Was this page helpful?