Convert JSON files to Apache Arrow. This package is part of Arrow CLI tools.
You can get the latest releases from https://github.com/domoritz/arrow-tools/releases.
cargo install json2arrow
To avoid re-compilation and speed up installation, you can install this tool with cargo binstall
:
cargo binstall json2arrow
```
Usage: json2arrow [OPTIONS]
Arguments:
Options:
-s, --schema-file
The --schema-file option uses the same file format as --dry and --print-schema.
Since we use the Arrow JSON loader, we are limited to what it supports. Right now, it supports JSON line-delimited files.
json
{ "a": 42, "b": true }
{ "a": 12, "b": false }
{ "a": 7, "b": true }