Truncate
Filter plugin : Truncateâ
- Author: InterestingLab
- Homepage: https://interestinglab.github.io/seatunnel-docs
- Version: 1.0.0
Descriptionâ
Truncate string.
Optionsâ
name | type | required | default value |
---|---|---|---|
max_length | number | no | 256 |
source_field | string | no | raw_message |
target_field | string | no | truncated |
max_length [number]â
Maximum length of the string.
source_field [string]â
Source field name, default is raw_message
.
target_field [string]â
New field name, default is __root__
.
Exampleâ
truncate {
source_field = "telephone"
max_length = 10
}