forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
6.7 KiB
6.7 KiB
String Operations
Overview
The String Operations operator converts the upper and lower cases of existing fields to generate new fields.
Input and Output
- Input: fields whose case is to be converted
- Output: new fields after conversion
Parameter Description
Parameter |
Description |
Type |
Mandatory |
Default Value |
---|---|---|---|---|
Fields to be processed |
Information about fields for string case conversion:
|
map |
Yes |
None |
Data Processing Rule
- Case conversion is performed for strings.
- If the input data is null, no case conversion is performed.
Example
Use the CSV File Input operator to generate fields A and B.
The following figure shows the source file.
abcd,product FusionInsight,Bigdata
After configuring the String Operations operator, fields C and D are generated.
After conversion, four fields are generated, as shown in the following figure.
abcd,product,ABCD,product FusionInsight,Bigdata,FUSIONINSIGHT,bigdata
Parent topic: Conversion Operators