Plank 0.1.0
dotnet add package Plank --version 0.1.0
NuGet\Install-Package Plank -Version 0.1.0
<PackageReference Include="Plank" Version="0.1.0" />
<PackageVersion Include="Plank" Version="0.1.0" />
<PackageReference Include="Plank" />
paket add Plank --version 0.1.0
#r "nuget: Plank, 0.1.0"
#:package Plank@0.1.0
#addin nuget:?package=Plank&version=0.1.0
#tool nuget:?package=Plank&version=0.1.0
Plank is a high-performance, managed .NET implementation for reading and writing Apache Parquet files.
<p> <picture> <source media="(prefers-color-scheme: dark)" srcset="assets/brand/plank-readme-dark.svg"> <img src="assets/brand/plank-readme.svg" alt="Plank" width="960"> </picture> </p>
Documentation · Benchmarks · NuGet · Samples
Quick start
dotnet add package Plank
Declare a schema with [ParquetSchema]:
using Plank.Schema;
[ParquetSchema]
public sealed partial class Measurement
{
public int SensorId { get; init; }
public double Value { get; init; }
public DateTimeOffset RecordedAt { get; init; }
}
The source generator adds strongly typed APIs to Measurement.
Write
using var output = File.Create("measurements.parquet");
using var writer = Measurement.CreateRowWriter(output);
for (var sensorId = 1; sensorId <= 3; sensorId++)
{
var row = writer.GetRow();
row.SensorId = sensorId;
row.Value = 20.0 + sensorId;
row.RecordedAt = DateTimeOffset.UtcNow;
}
writer.Complete();
Read
using var input = File.OpenRead("measurements.parquet");
using var reader = Measurement.CreateRowReader(input);
foreach (var row in reader)
Console.WriteLine(
$"{row.SensorId}: {row.Value} " +
$"at {row.RecordedAt:O}");
Features
- Fast by design Preallocated, reusable buffers keep steady-state reads and writes allocation-free. Encoding, decoding, compression, and decompression are parallelized across columns and row groups.
- Source-generated APIs Declare your Parquet schema as a C# model and get matching row readers and writers, dataset writers, projections, and column accessors at compile time.
- APIs for every workload Use rows for application-shaped data, columns for columnar workloads, datasets for partitioned outputs, or the physical API for low-level control.
- Fine-grained configuration Configure encodings and compression globally or per column, with control over row groups, pages, indexes, statistics, Bloom filters, and CRCs. Limit parallelism or use worker hooks to pin threads to specific CPUs.
- Built for evolving data Read selected columns, handle compatible schema changes, and define schemas dynamically at runtime.
API guides
Most applications can stay with these generated row APIs. The dataset API routes rows into partitioned files, while the column and physical APIs provide progressively more control.
| Read Parquet | Write Parquet |
|---|---|
| Row | Row |
| Logical columns | Logical columns |
| Physical files | Physical files |
| Datasets |
Plank Lab
Plank Lab is the deliberately experimental, lower-quality, vibe-coded side of the project. It contains benchmarks, fuzzing tools, crash investigations, and other research used to find performance issues, uncover bugs, and explore ways to improve Plank. It is not production software.
The published benchmark matrix includes comparisons across libraries, data shapes, and CPU architectures, along with the methodology and raw results.
Build and test
Plank currently targets .NET 10.
git clone --recurse-submodules https://github.com/Kuinox/Plank.git
cd Plank
dotnet test --solution Plank.sln --configuration Release
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- K4os.Compression.LZ4 (>= 1.3.8)
- Plank.Native.Zlib (>= 1.3.1.1)
- Plank.SourceGen (>= 0.1.0)
- Snappier (>= 1.3.1)
- System.IO.Hashing (>= 10.0.0)
- ZstdSharp.Port (>= 0.8.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 58 | 9/29/2026 |