rsql_driver_csv

Crates.iorsql_driver_csv
lib.rsrsql_driver_csv
version
sourcesrc
created_at2025-02-21 16:18:36.914801+00
updated_at2025-03-27 05:57:10.367252+00
descriptionrsql csv driver
homepage
repositoryhttps://github.com/theseus-rs/rsql
max_upload_size
id1564390
Cargo.toml error:TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Brian Heineman (brianheineman)

documentation

README

rsql_driver_csv

ci Documentation Code Coverage Benchmarks Latest version License Semantic Versioning

rsql_driver_csv is a data driver for Comma Separated Values (CSV) files.

Usage

Driver url format: csv://<file>[?has_header=<true|false>][&quote=<char>][&skip_rows=<n>]

The driver is implemented using Polars SQL.

Driver Configuration

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

Safety

These crates use #![forbid(unsafe_code)] to ensure everything is implemented in 100% safe Rust.

License

Licensed under either of:

Commit count: 843

cargo fmt