Skip to main content
Version: 2.3.1

Copy

Copy transform plugin

Description​

Copy a field to a new field.

Options​

nametyperequireddefault value
src_fieldstringyes
dest_fieldstringyes

src_field [string]​

Src field name you want to copy

dest_field [string]​

This dest field name

common options [string]​

Transform plugin common parameters, please refer to Transform Plugin for details

Example​

The data read from source is a table like this:

nameagecard
Joy Ding20123
May Ding20123
Kin Dom20123
Joy Dom20123

We want copy field name to a new field name1, we can add Copy Transform like this

transform {
Copy {
source_table_name = "fake"
result_table_name = "fake1"
src_field = "name"
dest_field = "name1"
}
}

Then the data in result table fake1 will like this

nameagecardname1
Joy Ding20123Joy Ding
May Ding20123May Ding
Kin Dom20123Kin Dom
Joy Dom20123Joy Dom

Changelog​

new version​

  • Add Copy Transform Connector