Skip to main content

Module csv_reader

Module csv_reader 

Source
Expand description

CSV reader for the COPY FROM command.

Parses CSV files and coerces string values to Akar Value types based on a provided schema (column names + types from the catalog).

Supports: delimiter, header detection, quoting, escaping, null handling, and type coercion with detailed error messages.

Structs§

CsvReaderConfig
Configuration for reading a CSV file.

Enums§

CsvReaderError
Error type for CSV reader operations.

Functions§

read_csv
Read a CSV file and coerce string values to Akar Values matching the schema.

Type Aliases§

CsvResult
Result alias for CSV reader operations.