Repository navigation
feat(api): Parquet export format (#1241) - #1251
Merged
Merged
Conversation
format: parquet writes a Snappy-compressed Parquet file with the columns the CSV carries: golden records with the entity's declared Arrow schema (an empty export is still a readable file with that schema) and lineage's four columns. Duplicates stay JSON Lines only: a group's nested shape has no schema fixed before its first page. parquet is pinned =60.1.0 to the arrow duckdb uses, with only the arrow and snap features (pure Rust, no C compression libraries). The file envelope documents application/vnd.apache.parquet, and its test now requires every ExportFormat's media type to be documented. Co-Authored-By: Claude Opus 5.5 <[email protected]>
) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
athvin
marked this pull request as ready for review
November 26, 2026 04:49
Contributor
|
The marketing preview was removed because this PR is closed or merged. |
parquet 60.1.0 writes bloom filters in plaintext into an encrypted file. This build compiles no encryption feature, so it was never exposed, but the patched release is a minor bump within duckdb's arrow ^60, so the workspace's arrow moves 60.1.0 -> 60.2.0 with it rather than carrying an advisory ignore. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
athvin
temporarily deployed
to
marketing-preview
November 26, 2026 05:12 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1241
What
Adds
format: parquetfor golden-record and lineage exports. The file is Snappy-compressed Parquet with the same columns as the CSV. Duplicates remain JSON Lines only and get a 422; that is deferred to #1252.Why
#1241, the last open ticket under E11 #521. Parquet is the format a warehouse load wants.
Proof
make checkgreen: 1,199 tests passed, 0 failed.export_writee2e (DEDUPE_E2E_DUCKLAKE=1), new case 7:AcctGoldenRecord::arrow_schema()'s columns and the same four ids as the JSONL export, across a page boundary;ExportFormat::ALL, so an undocumented format fails it.parquet,seq-macro,snap), all pure Rust.parquetis pinned=60.1.0to duckdb's arrow, with only thearrowandsnapfeatures (none of brotli, zstd, lz4 or flate2), so arrow stays at 60.1.0.Risk & rollback
Additive: one new enum value, and the existing formats are untouched. Rollback is
git revertof the merge.Post-merge ledger
Closed by: agent · session
Claude Code:c01fa93f-cb56-4a01-83ec-8ea76e9aa92bonbrians-MacBook-Pro· 2026-11-26T05:27:51Zmainis green with this change on it — the merge SHA, and the runthat proves it. A later head SHA with this commit as an ancestor counts;
a cancelled run with zero jobs does not:
b7af67f2. Every workflow on that SHA succeeded: rust 45760021286, frontend 45760021354, images 45760021390, infra 45760021296, devcontainer, marketing preview, and deploy 45760993786.imagesbuilt, or correctly never ran because nothing that goes intoan image changed: images 45760021390 succeeded, giving
er-api@sha256:faab5362….deployconverged — proved by a line the running process emitted, notby the image digest and not by the workflow conclusion:
- dev
ci/web-api-green-685b5c7955-xcv9ploggeder-server listeningat 05:22:04Z;- prod
app/web-api-blue-767fc5678b-cqj6mlogged it at 05:21:56Z;- both are the active colour and run
faab5362….The prod API launch gate said "compatible with the deployed contract" and published
b7af67f2.deploy,drift,kind's nightly leg) is green, or knowingly red for a reason that is notthis change: deploy 45760993786 is green for dev and prod. Drift and kind are n/a: neither runs on a merge, and this PR touches neither.
Donethrough the automation rather than byhand, and the issue closed: E11.3b — Parquet export format #1241 is CLOSED, its closer is
PullRequest, and the card is onDone. Epic E11 — Public resolution results, lineage and bulk export #521 was then closed with every acceptance box ticked.(a skill, a reference, memory) — or nothing new was learned: two things.
-
parquetmust move in step with the workspace arrow: there is one advisory per minor line, so it is pinned=like kube. This is recorded in project memory.- The
ff-analysis.mdgenerated reference quotes the arrow version, so any arrow bump regenerates it.Specific to this change
er-api, from ECR (the dependency-cost note the ticket asks for): it went from 172,364,215 bytes (c6672637) to 173,391,306 bytes (b7af67f2), +1,027,091 bytes compressed, about +0.6%.Context — plan, discoveries, measurements, files
Plan
Discoveries
Measurements
Files