CsvColumn
A CSV file column.
Notes
Defines a single column in a CSV committer output file, mapping a source document field to a named CSV column with optional value truncation.
Usage
- YAML
- JSON
- XML
field: string
header: string
truncateAt: 0
{
"field": "string",
"header": "string",
"truncateAt": 0
}
<csvColumn>
<field>string</field>
<header>string</header>
<truncateAt>0</truncateAt>
</csvColumn>
Properties
| Property | Type | Required | Default |
|---|---|---|---|
field | string | No | - |
header | string | No | - |
truncateAt | integer | No | 0 |
Property Details
field
Source document field name, leave blank for document content.
header
Optional column name. Defaults to field name.
truncateAt
Truncate values larger than N characters. Default is 5096. Use -1 for unlimited. Overwrites the global length value.