Skip to content

E11.3c — Parquet export for duplicate groups #1252

Done

Description

@athvin

Follow-up to #1241 (part of #521).

#1241 added format: parquet for golden records and lineage. Duplicates stay JSON Lines only, and format: parquet for them answers 422 naming why.

Why it was left out: a duplicate group serialises through DuplicateGroups::to_values() as JSON, so there is no Arrow schema fixed before the first page. Inferring one from page one breaks on a later page whose nullable fields first carry a value.

Scope: declare the group's Arrow schema (members as List<Struct>, the golden preview as a struct) from the typed PersonDuplicateGroup / AccountDuplicateGroup, and build batches directly, not through JSON. Then lift the refusal in ExportRequest::from_params.

Acceptance: a duplicates Parquet export round-trips through a reader with one row per group and its members as a nested list, across a page boundary.

Activity

  1. added
    followup
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    followup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions