csv2pq

Crates.iocsv2pq
lib.rscsv2pq
version0.1.1
created_at2025-03-04 11:13:59.597834+00
updated_at2025-03-27 04:14:45.144169+00
descriptionCSV to Apache parquet converter
homepage
repositoryhttps://github.com/Mottl/csv2pq
max_upload_size
id1577110
size48,050
Dmitry Mottl (Mottl)

documentation

README

csv2pq — CSV to Apache Parquet converter

Crates.io

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.

Commit count: 2

cargo fmt