1 unstable release
new 0.1.0 | Mar 4, 2025 |
---|
#5 in #i32
112 downloads per month
15KB
319 lines
csv2pq — CSV to Apache Parquet converter
Installation
Install Rust with Cargo and then:
cargo install csv2pq
Usage examples
csv2pq somedata.csv.gz
produces somedata.parquet
.
csv2pq --rm somedata.csv
produces somedata.parquet
and removes the original csv file.
csv2pq --f64='*' --f32=col1,col2 -i32='*' --i64=col10 --i64=col11
sets default float and integer data types to Float64
and Int32
. Sets
col1
and col2
to Float32
, col10
and col11
to Int64
.
Parquet and Arrow underlying implementation
This project is just a CLI for Apache Arrow implementation in Rust.
Other converters
If this utility doesn't fit your needs, try arrow-tools.
Dependencies
~36MB
~714K SLoC