Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 1.28 KB

plugin-csv.adoc

File metadata and controls

60 lines (44 loc) · 1.28 KB

CSV Plugin

The plugin provides the ability to work with CSV files.

Properties

Property Name Acceptable values Default Description

csv.delimiter-char

<char>

,

The char used for value separation, must not be a line break character

csv.escape-char

<char>

<disabled: no escape char>

The char used to escape special characters in values, may be disabled

Table Transformers

Note
The table transformers properties marked with bold are mandatory.

FROM_CSV

FROM_CSV transformer generates table from the given CSV file.

Parameter Description

csvPath

The relative path of the CSV file

delimiterChar

The char used for value separation, must not be a line break character

If delimiterChar is not set, then the corresponding property will be used during parsing.

The transformer based on the default configuration
{transformer=FROM_CSV, csvPath=/data/example.csv}
The transformer with custom inlined configuration
{transformer=FROM_CSV, csvPath=/data/another-example.csv, delimiterChar=;}