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.