Crates.io | rsql_driver_csv |
lib.rs | rsql_driver_csv |
version | 0.19.1 |
created_at | 2025-02-21 16:18:36.914801+00 |
updated_at | 2025-07-10 20:40:56.918887+00 |
description | rsql csv driver |
homepage | |
repository | https://github.com/theseus-rs/rsql |
max_upload_size | |
id | 1564390 |
size | 86,571 |
rsql_driver_csv
is a data driver for Comma Separated Values (CSV) files.
Driver url format: csv://<file>[?has_header=<true|false>]["e=<char>][&skip_rows=<n>]
The driver is implemented using Polars SQL.
Parameter | Description | Default |
---|---|---|
has_header |
Whether the file has a header row. | true |
separator |
The character used to separate fields in the file. | , |
quote |
The character used to quote fields in the file. | " |
eol |
The character used to separate lines in the file. | \n |
skip_rows |
The number of rows to skip before reading the data. | 0 |
skip_rows_after_header |
The number of rows to skip after the header. | 0 |
truncate_ragged_lines |
Whether to truncate lines that are longer than the schema. | false |
infer_schema_length |
The number of rows to use when inferring the schema. | 100 |
ignore_errors |
Whether to ignore errors. If true , errors will be ignored. If false , errors will cause the query to fail. |
false |
These crates use #![forbid(unsafe_code)]
to ensure everything is implemented in 100% safe Rust.
Licensed under either of: