CsvToIonCsvToIon
​Csv​To​IonCertified

Convert a CSV file into ION.

yaml
type: "io.kestra.plugin.serdes.csv.CsvToIon"

Convert a CSV file to the Amazon Ion format.

yaml
id: csv_to_ion
namespace: company.team

tasks:
  - id: http_download
    type: io.kestra.plugin.core.http.Download
    uri: https://huggingface.co/datasets/kestra/datasets/raw/main/csv/products.csv

  - id: to_ion
    type: io.kestra.plugin.serdes.csv.CsvToIon
    from: "{{ outputs.http_download.uri }}"
Properties

Source file URI

Defaultfalse

Allow extra characters after a closing quote

DefaultUTF-8

The name of a supported charset

Default,

The field separator character

Defaulttrue

Specifies if the first line should be the header

Default16777216

Maximum CSV parser buffer size (bytes)

Default16777216

Maximum field size (characters)

DefaultERROR
Possible Values
ERRORWARNSKIP

How to handle bad lines (e.g., a line with too many fields).

Defaultfalse

Specifies if empty rows should be skipped

Default0

Number of lines to skip at the start of the file

Default"

The text delimiter character

Formaturi

URI of a temporary result file

Number of records converted