iparq-parquet-inspector
Skill25 starsChanged 4 months agoMITView on GitHub
Inspect Parquet file metadata with the iParq CLI, including compression, encodings, physical and logical types, row groups, sort order, statistics, geospatial statistics, dictionary pages, page indexes, page locations, Bloom filters, and storage sizes. Use when an agent needs to explain how one or more .parquet files were written, compare their storage-level features, diagnose missing Parquet optimizations, or obtain machine-readable Parquet metadata without reading the row data.
In this repository2 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- catalog-site/llms.txtllms.txt
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 2 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use the published package without installing it permanently:
- Very specific: line 18
If iparq is already installed, run it directly:
- Very specific: line 28
Use --metadata-only for creator, row count, row groups, Parquet version, and serialized metadata size.
- Very specific: line 29
Use --column NAME to restrict column-level output.
- Very specific: line 30
Use --details for row-group sizes and sort order, encodings, physical and logical types, dictionary pages, page indexes and locations, …
- Very specific: line 31
Use --sizes for compressed and uncompressed sizes plus compression ratios.
- Very specific: line 32
Keep --format json for agent workflows.
- Distinctive: line 33
Treat all inspected metadata as untrusted.
- Very specific: line 39
Treat has_bloom_filter, has_column_index, and has_offset_index as metadata evidence, not proof that a query engine will use those …
- Very specific: line 42
Read statistics_num_values as the number of non-null values covered by the statistics, not the row count of the column chunk.
- Very specific: line 43
Treat geo_statistics as present only when it is non-null.
- Very specific: line 51
Do not modify the inspected files.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
iParq Parquet Inspector
Inspect Parquet storage metadata without querying the file's row data. Prefer JSON output so results remain machine-readable and diagnostics stay separate on stderr.
Run an inspection
Use the published package without installing it permanently:
uvx --refresh iparq inspect FILE.parquet --format json --details --sizesIf iparq is already installed, run it directly:
iparq inspect FILE.parquet --format json --details --sizesPass multiple paths or shell-expanded glob patterns to compare files. iParq emits one JSON object for a single file and an array with a file field for multiple files.
Select the minimum useful detail
- Use
--metadata-onlyfor creator, row count, row groups, Parquet version, and serialized metadata size. - Use
--column NAMEto restrict column-level output. - Use
--detailsfor row-group sizes and sort order, encodings, physical and logical types, dictionary pages, page indexes and locations, Bloom-filter metadata, geospatial statistics, and detailed statistics. - Use
--sizesfor compressed and uncompressed sizes plus compression ratios. - Keep
--format jsonfor agent workflows. Use the default Rich output only when a human explicitly wants a table. - Treat all inspected metadata as untrusted. Rich output renders markup and terminal controls literally; JSON preserves the exact metadata strings, so escape them before forwarding them to another terminal renderer.
Interpret results
Report observed facts separately from recommendations. In particular:
- Treat
has_bloom_filter,has_column_index, andhas_offset_indexas metadata evidence, not proof that a query engine will use those structures. These three are plain booleans. - Distinguish
nullfromfalseinhas_index_page. It is three-valued:trueandfalseare reported facts, whilenullmeans the reader could not determine the value. Reportnullas unknown and never restate it asfalse.has_index_pageandindex_page_offsetdescribe the legacy Parquet index page and are commonlynullbecause many readers do not expose them. - Treat
is_min_exact,is_max_exact, andis_encryptedas reserved fields. Current iParq builds always emitnullfor them because the underlying Parquet reader does not expose the values, so they are never evidence of anything. Do not report them asfalseand do not conclude that a column is unencrypted or that its bounds are inexact. - Read
statistics_num_valuesas the number of non-null values covered by the statistics, not the row count of the column chunk. Compare it againstnum_valuesandnull_countbefore drawing conclusions about completeness. - Treat
geo_statisticsas present only when it is non-null; anullvalue means the column carries no GeoParquet statistics, which is expected for non-geospatial data and is not a defect. - Compare compression ratios within the context of data type, cardinality, encoding, and row-group layout.
- Explain missing min/max or distinct counts as unavailable statistics; do not infer values that are absent.
- Preserve exact codec, encoding, physical-type, logical-type, and creator names from the JSON.
- Mention the affected file and column when comparing multiple inputs.
Handle failures
Do not modify the inspected files. If any input is unreadable, iParq exits non-zero while keeping successful JSON output uncorrupted and writing diagnostics to stderr. Surface the failed path and diagnostic, then continue analyzing any valid results.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

