The footprint of Parquet and Delta tables. Pronounced "pickax".

PQAX is a file format that holds the storage footprint of the tables of a lakehouse: the files, row groups, and column chunks of each table, with their sizes, and nothing of the data. A .pqax file is a zip of JSON tables, so any zip tool opens it and any language reads it. It can also travel inside a VPAX file, the format of VertiPaq Analyzer, so that a semantic model and the lakehouse it reads are analyzed together.

The format is at version 0.2, a draft that can change until 1.0. The repository pqax-org/pqax holds the documents, the conformance kit, and the reference implementations, under the MIT license.

Documents

DocumentContent
Object modelThe objects of a footprint, their fields, the totals, and the depth of detail. Draft 0.6.
SerializationHow a file is written: the zip, the JSON tables, the manifest, and the rules for readers and writers. Draft 0.3.
Conformance kitThe validation rules with their codes, a JSON Schema, sample files with their expected results, invalid samples, and a synthetic lakehouse for collectors.
ContractsHow the implementations are organized and what each one must offer.
BacklogWhat changes after 0.1, by area and by stage.

Packages

Version 0.2.2, one number for all of them. The changelog says what each release holds.

PackageRegistryWhat it does
PqaxNuGetReads, writes, and validates PQAX files in .NET, also inside a VPAX file. netstandard2.0 and net8.0.
Pqax.CollectorNuGetCollects the footprint of Delta tables from OneLake or from a folder, reading only the Delta log and the Parquet footers. Pqax.Collector.ParquetNet adds the checkpoint reader.
Pqax.CliNuGet, as a .NET toolThe command line pqax: check, info, and collect.
@pqax/pqaxnpmReads and validates PQAX files in a browser and in Node, with no dependency.
pqaxPyPIReads, validates, and writes PQAX files with the standard library, with a command line and data frames through pandas or polars.
dotnet add package Pqax
dotnet tool install -g Pqax.Cli
npm install @pqax/pqax
pip install pqax

A first look at a file

pqax info footprint.pqax
pqax check model.vpax

info prints the format version, the collector, the collection level, the parts with the rows of each table, and the totals: tables, columns, files, bytes, rows. check validates a file against every rule of the conformance kit and prints each issue with the code of its rule. Both commands take a .pqax file or a .vpax file that embeds one.

What comes next

The backlog lists the work before 1.0: files from more engines and table formats, the derived measures, and the view model. The storage views at pqax.tools open a .pqax or .vpax file in the browser, without uploading it. Questions and proposals go to the issues of the repository.