Skip to content

Bind PartitionSpec to its schema #2530

Open

Description

@dannycjones

When writing logic for rewriting manifest files, it was found to be easy to hand partition specs around with the wrong schema reference: #2367 (comment)

This issue proposes to bind a PartitionSpec to a schema, such as by holding a reference to the Schema. Or, a better approach if there is one.

Ultimately, rough idea:

  • Add schema to PartitionSpec
  • Update SnapshotSummaryCollector's APIs: schema should be inferred from partition spec, not passed in

Activity

  1. dannycjones commented on May 29, 2026

    @dannycjones
    ContributorAuthor

    FYI @CTTY I found this PR removing a type similar to the one we're proposing here: #771

    I will dig a bit more into that PR to understand the reasoning.

  2. github-actions commented on Nov 26, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions