FieldMapper
Last updated
Last updated
FieldMapper transform plugin
Add input schema and output schema mapping.
field_mapper
Object
yes
Specify the field mapping relationship between input and output
Transform plugin common parameters, please refer to for details.
The data read from source is a table like this:
1
Joy Ding
20
123
2
May Ding
20
123
3
Kin Dom
20
123
4
Joy Dom
20
123
We want to delete age
field and update the filed order to id
, card
, name
and rename name
to new_name
. We can add FieldMapper
transform like this
Then the data in result table fake1
will like this
1
123
Joy Ding
2
123
May Ding
3
123
Kin Dom
4
123
Joy Dom