asdf2014 opened a new issue #1165: URL: https://github.com/apache/incubator-seatunnel/issues/1165
### Search before asking - [X] I had searched in the [feature](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement. ### Description # Transform plugin : Concat [Spark] ## Description Concat additional string according to `addition` ## Options | name | type | required | default value | | -------------- | ------ | -------- | ------------------- | | addition | string | no | `""` (Empty String) | | source_field | string | no | `raw_message` | | target_field | string | no | `__root__` | | common-options | string | no | - | ### addition [string] The additional string will be concated to the source field. The default addition is a empty string `("")` . ### source_field [string] The source field of the string before being concated, if not configured, the default is `raw_message`. ### target_field [string] The target field of the string after being concated, if not configured, the default is `__root__`. ### common options [string] Transform plugin common parameters, please refer to [Transform Plugin](./transform-plugin.md) for details ## Examples ```bash concat { fields = ["msg"] addition = "+++++" } ``` ```bash concat { fields = ["msg"] addition = "+++++" source_field = "raw_message" target_field = "msg_concat" } ``` ### Usage Scenario _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
