File Output
Overview
The File Output operator uses delimiters to concatenate existing fields and exports new fields to a file.
Input and Output
- Input: fields to be exported
- Output: files
Parameter Description
Parameter |
Description |
Type |
Mandatory |
Default Value |
---|---|---|---|---|
Output delimiter |
Set a delimiter. |
string |
Yes |
None |
Line breaker |
Line delimiter, which can be any string specified by users based on the actual situation. Any character string is supported. The OS line delimiter is used by default. |
string |
No |
\n |
Output fields |
Information about output fields:
|
map |
No |
None |
Data Processing Rule
The field is exported to a file.
Example
Use the CSV File Input operator to generate two fields A and B.
The following figure shows the source file.
aaa,product bbb,Bigdata
Configure the File Output operator, set Output delimiter to a comma (,), and export A and B to a file, as shown in the following figure.
The following figure shows the result.
aaa,product bbb,Bigdata
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.