pqrs
$ pqrs Community Low Riskpqrs is a Rust rewrite of parquet-tools for inspecting Apache Parquet files and directories. It provides schema, rowcount, size, head, sample, cat --json, and merge subcommands with zero JVM or Python dependencies.
brew install pqrs Inspects Parquet schemas and samples records natively in Rust (pqrs schema, pqrs head --json) without JVM or Python startup overhead.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --json and --csv on cat/head/sample, non-interactive execution, and clean subcommand --help.
- Supports
--jsononcat/head/sample - Non-interactive Rust CLI
All inspection subcommands (schema, rowcount, size, head, cat, sample) are strictly read-only; only merge --output writes locally.
- Read-only inspection commands; explicit
merge --outputfor writes
Single Rust binary via Homebrew, cargo install pqrs, and GitHub Releases on macOS, Linux, and Windows.
- Zero-runtime Rust binary (
brew install pqrs)
Replaces heavyweight Java parquet-tools for local schema/row-group inspection and JSON/CSV sampling.
- Sub-second schema, rowcount, sample, and merge operations
Maintained by Manoj Karthick under dual MIT / Apache-2.0 license.
manojkarthick/pqrsrepository
Concise README and clear clap-generated --help for every subcommand.
- Clear subcommand docs in README and
--help
Security, Auth & Guardrails
None; operates purely on local Parquet files and directories.
Dual MIT / Apache-2.0 open-source CLI; completely free.
# pqrs Agent Rules - Run `pqrs schema` and `pqrs rowcount` before reading rows. - Prefer `pqrs head --records <N> --json` over `pqrs cat --json` on large Parquet files.
Agent-Ready Command Recipes
Safe Read-Only Queries
pqrs schema --detailed data.parquet
Displays column types, encodings, compression, and row-group stats without reading full row payloads.
pqrs head --records 10 --json data.parquet
Safely previews a bounded number of Parquet rows formatted as JSON.
Controlled Writes & Previews
pqrs merge --input part1.parquet part2.parquet --output merged.parquet
Combines compatible Parquet files by appending row groups into a new output file.
Strengths for Agents
- + Instant startup with zero JVM or Python dependencies.
- +
pqrs schema --detailedsurfaces row-group sizes, codecs, and column metadata concisely. - +
pqrs head --records 10 --jsonavoids context blowup.
Caveats & Pitfalls
- ! Operates on local files only (unlike Python
parquet-tools, does not reads3://URIs directly). - ! No SQL filtering; pair with
duckdbordatafusion-cliforWHEREqueries.