[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-117431":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":14,"stars7d":15,"stars30d":15,"stars90d":16,"forks30d":16,"starsTrendScore":13,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":10,"pushedAt":32,"updatedAt":33,"readmeContent":34,"aiSummary":10,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":35,"discoverSource":36},117431,"tparquet","aperiodic-io\u002Ftparquet","aperiodic-io","Parquet for time series. Trade and tick files at about half their ZSTD size (0.49× on 139M trades from four market data providers), lossless, and still Parquet. > Backed by aperiodic.io","",null,"Rust",54,4,1,2,0,45.3,"Apache License 2.0",false,"main",true,[23,24,25,26,27,28,29,30,31],"compression","compression-formats","market-data","parquet","parquet-files","parquet-format","timeseries","timeseries-data","timeseries-database","2026-11-20 10:54:32","2026-11-23 14:08:10","\u003Ch1>\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"brand\u002Ftparquet-logo-dark.svg\">\n    \u003Cimg alt=\"tparquet\" src=\"brand\u002Ftparquet-logo.svg\" width=\"377\">\n  \u003C\u002Fpicture>\n\u003C\u002Fh1>\n\n[![Rust](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Frust.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Frust.yml)\n[![Go](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Fgo.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Fgo.yml)\n[![Python](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Fpython.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Fpython.yml)\n[![DuckDB](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Fduckdb.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Fduckdb.yml)\n[![Java](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Fjava.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Fjava.yml)\n[![Trino](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Ftrino.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Ftrino.yml)\n[![C++](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Fcpp.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Fcpp.yml)\n[![Cross-language](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Facceptance.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Faperiodic-io\u002Ftparquet\u002Factions\u002Fworkflows\u002Facceptance.yml)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-Apache%202.0-blue.svg)](LICENSE)\n[![crates.io](https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fv\u002Ftparquet.svg)](https:\u002F\u002Fcrates.io\u002Fcrates\u002Ftparquet)\n[![docs.rs](https:\u002F\u002Fimg.shields.io\u002Fdocsrs\u002Ftparquet)](https:\u002F\u002Fdocs.rs\u002Ftparquet)\n[![PyPI](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Ftparquet.svg)](https:\u002F\u002Fpypi.org\u002Fproject\u002Ftparquet\u002F)\n[![PyPI polars-tparquet](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fpolars-tparquet.svg?label=pypi%20polars-tparquet)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fpolars-tparquet\u002F)\n\n**Parquet for time series.** Trade and tick files at about half their ZSTD size (0.49× on\n139M trades from four market data providers), lossless, and still Parquet: same schema, row\ngroups, statistics and page indexes. Read and write them from Python, pandas, Polars, DuckDB,\nGo, Rust, Java, Spark, Trino, DataFusion, C and C++.\n\ntparquet adds one thing to Parquet: a compression codec, PCODEC, that runs\n[pcodec](https:\u002F\u002Fgithub.com\u002Fpcodec\u002Fpcodec), an established open-source codec for numbers\n([what pcodec is](#what-pcodec-is)), on numeric columns. Prices and sizes that are short\ndecimals are stored as exact integers. Everything else in the file stays standard Parquet.\nThe format is backed by [Aperiodic](https:\u002F\u002Faperiodic.io), a market data provider that is\ncommitted to supporting it, along with its specification and these packages, for the long\nterm.\n\n## How much smaller\n\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"brand\u002Fsize-dark.svg\">\n  \u003Cimg alt=\"All 31 datasets: ZSTD(9) 957.1 MB, ZSTD(9) tuned 700.7 MB, ZSTD(9) ALP 649.5 MB, tparquet 478.6 MB, 0.50 times the size of ZSTD(9)\" src=\"brand\u002Fsize.svg\" width=\"800\">\n\u003C\u002Fpicture>\n\nMeasured on the sample and preview data of four market data providers: Aperiodic, Tardis.dev,\nCrypto Lake and NYSE, 151M rows in 31 datasets. The baseline is Parquet with ZSTD level 9,\nwritten two ways: with the writer's defaults, and *tuned*, with the best encoding chosen per\ncolumn (DELTA_BINARY_PACKED, BYTE_STREAM_SPLIT, DELTA_BYTE_ARRAY, ...), as the providers' own\nfiles are. A third baseline, *ALP*, is the tuned file with Parquet's new ALP encoding on every\nfloating-point column.\n\n| Data | Rows | ZSTD(9) | ZSTD(9) tuned | ZSTD(9) ALP | tparquet | vs ZSTD(9) | vs tuned | vs ALP |\n|---|---:|---:|---:|---:|---:|---:|---:|---:|\n| Trades (crypto perps and spot, US equities) | 138.9M | 737.0 MB | 520.0 MB | 480.6 MB | 362.2 MB | 0.49× | 0.70× | 0.75× |\n| Quotes (top of book) | 6.8M | 80.6 MB | 63.3 MB | 63.3 MB | 51.0 MB | 0.63× | 0.81× | 0.81× |\n| Order books (L2 snapshots and updates) | 5.5M | 126.4 MB | 109.2 MB | 95.7 MB | 58.6 MB | 0.46× | 0.54× | 0.61× |\n| Bars, metrics, derivatives | 288K | 13.1 MB | 8.2 MB | 10.0 MB | 6.8 MB | 0.52× | 0.83× | 0.68× |\n| **All** | 151.5M | 957.1 MB | 700.7 MB | 649.5 MB | 478.6 MB | **0.50×** | **0.68×** | **0.74×** |\n\nEvery value comes back bit for bit, and tparquet is smaller on every one of the 31 datasets.\nIt chooses PCODEC or ZSTD per column, on the first batch: here 478 of the 480 numeric columns\ngot PCODEC. Strings and flags keep ZSTD.\n\nIf your files compress like these trades, 1 TB of ZSTD(9) Parquet becomes about 490 GB (about\n700 GB if your writer already tunes its encodings), and a full scan reads half the bytes. On\none thread, tparquet writes at 102 MB\u002Fs of Arrow data (ZSTD(9): 97, tuned: 141, ALP: 169) and\nreads at 924 MB\u002Fs (ZSTD(9): 916, tuned: 1,129, ALP: 1,231). On wide order books, where every\ncolumn is PCODEC, it writes about 3× slower than ALP and reads at 0.81× of ZSTD(9)'s speed.\n\nEvery dataset, with its write and read speeds, is in [`bench\u002FRESULTS.md`](bench\u002FRESULTS.md).\n`make bench` reproduces it (it downloads about 1.2 GB). The quickest way to find out what\ntparquet does for your data is still to run it on one of your own files.\n\n## Try it on your own file\n\n```sh\ncargo install tparquet                                      # the tparquet CLI\n\ntparquet encode trades.parquet trades.pcodec.parquet        # standard -> PCODEC, codec chosen per column\ntparquet inspect trades.pcodec.parquet                      # codec and size of every column\ntparquet verify trades.parquet trades.pcodec.parquet        # same data, floats bit for bit\ntparquet decode trades.pcodec.parquet trades.standard.parquet   # and back to standard Parquet\n```\n\nNothing about your original file changes, and `decode` takes you back whenever you want.\n\n## What pcodec is\n\n[pcodec](https:\u002F\u002Fgithub.com\u002Fpcodec\u002Fpcodec) is a lossless compression codec built only for\nnumbers. A general-purpose compressor like ZSTD sees bytes. pcodec sees integers and floats.\nIt learns how the values are distributed, removes trends with delta encoding, and spots\nstructure such as prices that are all multiples of a tick size. Then it spends the fewest\nbits it can on each value.\n\nIt is neither new nor an experiment:\n\n- **In development since 2021.** It began as `q_compress` in May 2021 and was redesigned as\n  pcodec in 2023. Version 1.0, with a stable format, came out in January 2026.\n- **Actively maintained.** 58 tagged releases and 19 contributors so far, on a regular\n  release cadence. 1.1.0 came out in November 2026.\n- **Peer-reviewed and widely used.** It is described in the paper\n  [*Pcodec: Better Compression for Numerical Sequences*](https:\u002F\u002Farxiv.org\u002Fabs\u002F2502.06112),\n  and is a codec in [Zarr](https:\u002F\u002Fnumcodecs.readthedocs.io\u002F) (`numcodecs`, `zarrs`) and in\n  the [Vortex](https:\u002F\u002Fgithub.com\u002Fvortex-data\u002Fvortex) file format. The Rust crate `pco` has\n  over 2 million downloads.\n- **Apache-2.0**, written in Rust, with bindings for Python, Java and C.\n\ntparquet uses the released `pco` crate as is. Each compressed page is a pcodec standalone file\nbehind a two-byte header ([`spec\u002FFORMAT.md`](spec\u002FFORMAT.md)).\n\n## It's still Parquet\n\nPCODEC is set per column chunk in `ColumnMetaData.codec`, exactly like `ZSTD` or `SNAPPY`.\nSchema, row groups, encodings, statistics, page indexes, bloom filters and key-value metadata\nare untouched, so your files keep their layout, their partitioning and their statistics.\nStrings, booleans and any column pcodec doesn't help keep ZSTD.\n\nThe trade-off is that a reader without the codec cannot read the file. It fails with an error\nand never returns wrong data: the acceptance tests check this for pyarrow, pandas, Polars,\nDuckDB's `read_parquet`, the upstream arrow-rs `parquet` crate, parquet-java and Trino. When a file has to go to such\na reader, `tparquet decode` (or `transcode(..., target=\"standard\")`) writes a standard copy\nand `tparquet verify` confirms it holds the same values.\n\nThe codec is specified in [`spec\u002FFORMAT.md`](spec\u002FFORMAT.md), so anyone can implement it.\n\n## Where it fits: a storage tier\n\nUntil PCODEC is a standard Parquet codec, use tparquet where you control every reader, and\nwrite standard Parquet wherever data leaves: keep the history, the archive or your own copy\nof vendor data in tparquet, and `tparquet decode` (or `transcode`) at the edge for customers,\nother teams, managed warehouses and BI tools. [`docs\u002FSTORAGE-TIER.md`](docs\u002FSTORAGE-TIER.md)\nhas the recipes, and the cases where it does not pay.\n\nWork to make PCODEC a standard Parquet codec, so that any Parquet reader can open these\nfiles, is in progress ([`spec\u002FUPSTREAM.md`](spec\u002FUPSTREAM.md)).\n\n## Install\n\nEach release publishes the Rust crates to crates.io and the Python packages to PyPI\n([`RELEASING.md`](RELEASING.md)); the other packages build from a checkout of this repository\n(each needs a Rust toolchain). [`INSTALL.md`](INSTALL.md) has the prerequisites, the steps for\neach use case on Linux, macOS and Windows, using the packages from your own project (Cargo, pip\nand uv, Go modules, Maven and Gradle, CMake), and troubleshooting.\n\nThe released packages:\n\n| Registry | Package | API docs |\n|---|---|---|\n| crates.io | [`tparquet`](https:\u002F\u002Fcrates.io\u002Fcrates\u002Ftparquet): the library and the `tparquet` CLI | [docs.rs](https:\u002F\u002Fdocs.rs\u002Ftparquet) |\n| crates.io | [`tparquet-parquet`](https:\u002F\u002Fcrates.io\u002Fcrates\u002Ftparquet-parquet): the arrow-rs `parquet` crate with the codec | [docs.rs](https:\u002F\u002Fdocs.rs\u002Ftparquet-parquet) |\n| crates.io | [`tparquet-core`](https:\u002F\u002Fcrates.io\u002Fcrates\u002Ftparquet-core): the page codec alone | [docs.rs](https:\u002F\u002Fdocs.rs\u002Ftparquet-core) |\n| PyPI | [`tparquet`](https:\u002F\u002Fpypi.org\u002Fproject\u002Ftparquet\u002F): Python, pandas, Polars, DuckDB | |\n| PyPI | [`polars-tparquet`](https:\u002F\u002Fpypi.org\u002Fproject\u002Fpolars-tparquet\u002F): the Polars plugin | |\n\nIn short:\n\n```sh\ncargo install tparquet                       # CLI (from a checkout: cargo install --path rust\u002Ftparquet)\npip install tparquet polars-tparquet         # Python, pandas, Polars, DuckDB (Python 3.10+)\nmake -C duckdb build                         # DuckDB extension: duckdb\u002Fbuild\u002Fv{1.5.6,2.0.0}\u002Ftparquet.duckdb_extension\ncargo build --release -p tparquet-capi       # static library for Go; see go\u002FREADME.md\nmake -C java install                         # Java, Spark: the parquet-java fork; see java\u002FREADME.md\nmake -C java spark-jars                      # the jars a Spark 4.3 distribution needs\nmake -C trino install TRINO_HOME=...         # Trino 484: the forked jars into its connectors\nmake -C cpp build                            # C++: the Arrow C++ fork and tparquet::*; see cpp\u002FREADME.md\n```\n\n## Use it\n\nPython, with pyarrow, pandas, Polars or DuckDB:\n\n```python\nimport tparquet as tpq\n\ntpq.write_table(table, \"trades.parquet\")          # {\"price\": \"PCODEC\", \"sym\": \"ZSTD\", ...}\ntable = tpq.read_table(\"trades.parquet\", columns=[\"ts\", \"price\"])\n```\n\nPolars, lazily over many files:\n\n```python\nimport polars as pl\nimport polars_tparquet as pt\n\nlf = pt.scan_tparquet(\"trades\u002F**\u002F*.parquet\")      # projection and predicate pushdown into every file\nlf.filter(pl.col(\"qty\") > 0).tparquet.sink(\"out.parquet\")\n```\n\nDuckDB:\n\n```sql\nLOAD 'tparquet.duckdb_extension';\nSELECT symbol, avg(price) FROM read_tparquet('trades\u002F*.parquet') GROUP BY ALL;\nCOPY (SELECT ts, price, qty FROM ticks) TO 'ticks.parquet' (FORMAT tparquet);\n```\n\nGo, on arrow-go with no fork:\n\n```go\nimport tparquet \"github.com\u002Faperiodic-io\u002Ftparquet\u002Fgo\" \u002F\u002F reading: the import is enough\n\nw, err := tparquet.NewFileWriter(schema, out) \u002F\u002F codec chosen per column, base codec ZSTD(3)\n```\n\nRust:\n\n```rust\nuse tparquet::{Writer, WriterOptions};\n\nlet mut w = Writer::try_new(File::create(\"trades.parquet\")?, schema, WriterOptions::default())?;\nw.write(&batch)?;                                  \u002F\u002F the first batch picks each column's codec\nw.close()?;\n\nlet reader = tparquet::read::open(\"trades.parquet\")?.build()?;   \u002F\u002F Arrow record batches\n```\n\n```java\n\u002F\u002F with the parquet-java fork, any parquet-java reader (and Spark) reads PCODEC files\ntry (ParquetWriter\u003CGroup> w = TparquetWriter.groups(path, schema, TparquetWriter.Options.defaults())) { ... }\n```\n\n```scala\ndf.write.format(\"tparquet\").save(\"trades\")       \u002F\u002F Spark: PCODEC, V2 pages, PLAIN numbers\nspark.read.parquet(\"trades\")\n```\n\n```sql\n-- Trino, after trino\u002Finstall-tparquet.sh: a Hive table of PCODEC files\nSELECT venue, avg(price) FROM hive.market.trades GROUP BY venue;\n```\n\n```cpp\nARROW_ASSIGN_OR_RAISE(auto table, tparquet::ReadTable(\"trades.parquet\", {\"ts\", \"price\"}));\n```\n\nEach package's README has the details: [Python](python\u002FREADME.md),\n[Polars](polars-tparquet\u002FREADME.md), [Go](go\u002FREADME.md), [DuckDB](duckdb\u002FREADME.md),\n[Java and Spark](java\u002FREADME.md), [Trino](trino\u002FREADME.md), [DataFusion](datafusion\u002FREADME.md),\n[C and C++](cpp\u002FREADME.md).\n\n## tparquet or Vortex?\n\n[Vortex](https:\u002F\u002Fgithub.com\u002Fvortex-data\u002Fvortex) is a new columnar file format built for fast\nscans and random access on compressed data. tparquet is a smaller change: your files stay\nParquet and the numeric columns get smaller.\n\nUse tparquet when:\n\n- your data is mostly numeric time series (timestamps, prices, sizes, ids, sensor readings) and\n  storage or transfer cost is what you are trying to cut;\n- your pipelines, catalogs and partition layouts are built around Parquet and you don't want to\n  migrate them to a new format;\n- you write from Go, or from Python, Polars, DuckDB or Rust;\n- you want a one-command way back to plain Parquet.\n\nUse Vortex when scan speed and point lookups matter more than bytes on disk, when your tables\nare mostly strings, or when you need its Spark, Trino or Java integrations. Its default\ncompressor [leaves out](https:\u002F\u002Fvortex.dev\u002Fblog\u002Fbtrblocks-compressor) heavyweight codecs such as\npcodec to keep random access. A tparquet page, like any compressed Parquet page, is decoded\nwhole.\n\nUse plain ZSTD Parquet when the files must be read by tools you don't control.\n\n## Why you can trust it\n\n- The format is a short, versioned spec: [`spec\u002FFORMAT.md`](spec\u002FFORMAT.md).\n- Every implementation reads the same conformance vectors in [`testdata\u002F`](testdata\u002FREADME.md):\n  Parquet files with their expected rows in canonical JSON, and page payloads with their decoded\n  bytes.\n- Rust, Go, Python, DuckDB, Java, C++ and DataFusion each read the files all of them wrote,\n  including Python, DuckDB and the Rust CLI under each policy and in many row groups\n  ([`acceptance\u002Fcross\u002Frun.sh`](acceptance\u002Fcross\u002Frun.sh)), on every pull request; Spark and\n  Trino read every vector exactly as they read a standard copy of the same rows.\n- Every package is mutation tested: cargo-mutants for Rust (including the forks' changed\n  functions), gremlins for Go, mutmut for Python, PIT for Java, and a scripted mutation check of\n  the Arrow C++ fork. A surviving mutant is a missing test.\n- Decoders treat payloads as untrusted (no panics, no unbounded allocation) and are fuzzed\n  ([`rust\u002Fcore\u002Ffuzz`](rust\u002Fcore\u002Ffuzz), [`cpp\u002Ffuzz`](cpp\u002Ffuzz)).\n- The forks are small: arrow-rs `parquet` 60.1 and 59.3 ([`FORK.md`](rust\u002Fparquet\u002FFORK.md),\n  [`FORK.md`](datafusion\u002Fparquet\u002FFORK.md)), parquet-java\n  1.17 and 1.18 ([`FORK.md`](java\u002Fparquet-java\u002FFORK.md)), trino-parquet\n  ([`FORK.md`](trino\u002Ftrino-parquet\u002FFORK.md)) and Arrow C++ ([`FORK.md`](cpp\u002Farrow\u002FFORK.md)).\n  Every change is listed and checked against the verified upstream release in CI; upstream\n  parquet-java's own suite gives its fork the same outcome for every test.\n\n## Packages\n\n| Where | Package | Notes |\n|---|---|---|\n| Rust | [`rust\u002Ftparquet`](rust\u002Ftparquet), [crates.io](https:\u002F\u002Fcrates.io\u002Fcrates\u002Ftparquet) | writer with automatic codec choice, `transcode`, `inspect`, `verify`, and the `tparquet` CLI |\n| Rust, the `parquet` API | [`rust\u002Fparquet`](rust\u002Fparquet), [crates.io](https:\u002F\u002Fcrates.io\u002Fcrates\u002Ftparquet-parquet) | a small fork of the arrow-rs `parquet` crate 60.1.0 that adds the codec, published as `tparquet-parquet` (library name `parquet`); changes listed in [`FORK.md`](rust\u002Fparquet\u002FFORK.md). Use it as `parquet = { package = \"tparquet-parquet\", version = \"=60.1.0\" }` |\n| Rust, no Parquet | [`rust\u002Fcore`](rust\u002Fcore), [crates.io](https:\u002F\u002Fcrates.io\u002Fcrates\u002Ftparquet-core) | the page payload codec alone |\n| C | [`rust\u002Fcapi`](rust\u002Fcapi) | C ABI over the core ([`tparquet.h`](rust\u002Fcapi\u002Finclude\u002Ftparquet.h)) |\n| Go | [`go\u002F`](go) | arrow-go codec plugin (no fork: `compress.RegisterCodec`) and writer helpers |\n| Python, pandas, Polars | [`python\u002F`](python), [PyPI](https:\u002F\u002Fpypi.org\u002Fproject\u002Ftparquet\u002F) | pyo3 package: `read_table`, `write_table`, `Writer`; `tparquet.pandas`, `tparquet.polars` (`scan_parquet` with pushdown), `tparquet.duckdb` |\n| DuckDB | [`duckdb\u002F`](duckdb) | DuckDB's own parquet extension with PCODEC (a patch over DuckDB 1.5.6 and 2.0.0): `read_tparquet(...)`, `COPY ... (FORMAT tparquet)` |\n| Java, anything on parquet-java | [`java\u002F`](java) | a small fork of parquet-java 1.17.0 (`parquet-format-structures`, `parquet-common`, `parquet-hadoop`; [`FORK.md`](java\u002Fparquet-java\u002FFORK.md)), the codec over JNI ([`tparquet-jni`](java\u002Ftparquet-jni), [`rust\u002Fjni`](rust\u002Fjni)), and [`tparquet`](java\u002Ftparquet): `TparquetWriter`, `TparquetReader`, canonical rows |\n| Spark | [`java\u002Ftparquet-spark`](java\u002Ftparquet-spark) | Spark 4.3 reads PCODEC through the parquet-java fork (every reader); the `tparquet` data source writes it ([Java README](java\u002FREADME.md#spark)) |\n| DataFusion | [`datafusion\u002F`](datafusion) | DataFusion 55.2 (arrow-rs 59) on a fork of the `parquet` crate 59.3.2 ([`FORK.md`](datafusion\u002Fparquet\u002FFORK.md)): `STORED AS TPARQUET`, `COPY`\u002F`INSERT` writing PCODEC; `STORED AS PARQUET` and `read_parquet` read PCODEC files, with pruning |\n| Trino | [`trino\u002F`](trino) | Trino 484 reads tparquet through its connectors that use trino-parquet (Hive tested end to end; the script also installs into Iceberg, Delta Lake and Hudi): [`install-tparquet.sh`](trino\u002Finstall-tparquet.sh) puts forks of trino-parquet 484 ([`FORK.md`](trino\u002Ftrino-parquet\u002FFORK.md)) and parquet-java 1.18.1 ([`FORK.md`](java\u002Fparquet-java-1.18\u002FFORK.md)) into a Trino install |\n| C++ | [`cpp\u002F`](cpp) | a small fork of Apache Arrow C++ 26.0.1 (a patch over the release, [`FORK.md`](cpp\u002Farrow\u002FFORK.md)) and `tparquet::ReadTable`\u002F`WriteTable`\u002F`FileWriter`; CMake package `tparquet` |\n| C | [`rust\u002Fcread`](rust\u002Fcread) | reader as an Arrow C stream ([`tparquet_read.h`](rust\u002Fcread\u002Finclude\u002Ftparquet_read.h)), `libtparquet_read` |\n| Polars | [`polars-tparquet\u002F`](polars-tparquet), [PyPI](https:\u002F\u002Fpypi.org\u002Fproject\u002Fpolars-tparquet\u002F) | Polars plugin `polars-tparquet`: `scan_tparquet` over files, lists, globs and directories (lazy, with pushdown), `read_tparquet`, `df.tparquet.write(...)`, `lf.tparquet.sink(...)` (streamed) |\n\n## Development\n\n```sh\nmake check            # Rust: fmt, clippy, tests, C smoke test, fork check, vectors\nmake -C go test       # Go\nmake python-test      # Python (uv, Python 3.14)\nmake polars-test      # the Polars plugin\nmake -C duckdb test   # DuckDB extension\nmake java-test        # Java, the parquet-java fork, Spark (JDK 21, Maven)\nmake trino-test       # Trino: the trino-parquet fork, conformance, queries through the Hive connector\nmake datafusion-test  # DataFusion and its parquet 59.3.2 fork\nmake cpp-test         # C++ and the Arrow C++ fork (asan, fuzz-smoke, mutants targets in cpp\u002F)\nmake acceptance       # cross-language (needs the Python package, the DuckDB extension, the Java\n                      # packages and the C++ library built)\nmake bench            # the benchmark on providers' sample data (downloads about 1.2 GB)\n```\n\nCI runs all of it on every pull request (`.github\u002Fworkflows\u002F`). See [`AGENTS.md`](AGENTS.md) for\nthe rules of the repository.\n\nThe acceptance test also measures deterministic synthetic market data, against ZSTD(9): 50,000\ntrades at 0.31×, and 5,000 L2 book snapshots stored as lists, where pcodec does not win, at\n1.07× (`cargo test --release -p tparquet --test acceptance -- --nocapture`).\n\n## Contributing\n\ntparquet is open source under the Apache License 2.0, and contributions are welcome: bug\nreports, questions, fixes, and support for more readers and writers.\n\nThe most useful issue is a file that tparquet barely shrinks, or makes bigger. Attach what\n`tparquet inspect` prints for it and say what the data is: that is how the codec choice per\ncolumn gets better. If you want to change the format itself, open an issue first, since every\nimplementation reads the same spec and test vectors.\n\nFor a pull request, [`CONTRIBUTING.md`](CONTRIBUTING.md) has the build and test commands for\neach package and the rules every change follows: a failing test first, the conformance vectors in\n[`testdata\u002F`](testdata\u002FREADME.md), mutation testing, and forks kept small. CI runs every check on\nevery pull request.\n\ntparquet was built at [Aperiodic](https:\u002F\u002Faperiodic.io), a market data company that uses it on\nits own data and maintains it here, in the open.\n\n\u003Ca href=\"https:\u002F\u002Faperiodic.io\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"brand\u002Faperiodic-dark.svg\">\n    \u003Cimg alt=\"Aperiodic: microstructure, liquidity and flow metrics, and the Cost, Depth and Impact indices, for RWA and crypto perps, point in time, as Parquet. aperiodic.io\" src=\"brand\u002Faperiodic.svg\" width=\"800\">\n  \u003C\u002Fpicture>\n\u003C\u002Fa>\n\n## License\n\nApache License 2.0 ([`LICENSE`](LICENSE)). `rust\u002Fparquet` is a modified copy of the Apache Arrow\n`parquet` crate, `java\u002Fparquet-java` and `java\u002Fparquet-java-1.18` of Apache Parquet Java modules,\n`trino\u002Ftrino-parquet` of Trino's trino-parquet, and `cpp\u002Farrow` a patch to Apache Arrow C++; see\n[`NOTICE`](NOTICE).\n","2026-11-24 04:55:41","CREATED_QUERY"]