Drop fields
The drop-fields transform function drops fields of structured data (Currently only AVRO is supported).
The cast transform function transforms the data to a target compatible schema.
The step
name is drop-field
, and the UserConfig
is controlled here: {"steps": [{"type": "drop-fields", "fields": "password,other"}]}
.
Parameters:
Parameter | Description |
---|---|
fields |
A comma-separated list of fields to drop. |
part |
when used with KeyValue data, defines if the transform function is done on the |
What’s next?
For more, see Transform Functions or the Pulsar documentation.