parquet2json

A command-line tool for converting Parquet to newline-delimited JSON.

It uses the excellent Apache Parquet Official Native Rust Implementation.

How to use it

Install from crates.io or download released executables for your platform, and execute from the command line, e.g.:

```shell $ cargo install parquet2json $ parquet2json --help

USAGE: parquet2json [OPTIONS]

ARGS: Sets the input file

FLAGS: -h, --help Prints help information -V, --version Prints version information

OPTIONS: -l, --limit Maximum number of rows to output -o, --offset Starts outputting from this row ```

Examples

Use it to stream output to files and other tools such as grep and jq.

Output to a file

shell $ parquet2json ./myfile.pq > output.ndjson

Filter with jq

shell $ parquet2json ./myfile.pq | jq 'select(.level==3) | .id'

License

Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0.