Skip to content

Add v3 structs #2065

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2025
Merged

Add v3 structs #2065

merged 1 commit into from
Jun 13, 2025

Conversation

b-phi
Copy link
Contributor

@b-phi b-phi commented Jun 3, 2025

Closes #1982

Rationale for this change

Adds v3 structs for data files, manifest entries, and manifest lists. Necessary for related v3 work.

Are these changes tested?

No, these are just schemas.

Are there any user-facing changes?

No

@@ -289,6 +289,129 @@ def __repr__(self) -> str:
doc="ID representing sort order for this file",
),
),
3: StructType(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to make this DRYer if desired, just followed the v1 -> v2 example initially

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine for now, since they won't change. I think this is less error-prone.

@@ -289,6 +289,129 @@ def __repr__(self) -> str:
doc="ID representing sort order for this file",
),
),
3: StructType(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine for now, since they won't change. I think this is less error-prone.

@Fokko Fokko merged commit ea57cbb into apache:main Jun 13, 2025
17 of 18 checks passed
@Fokko
Copy link
Contributor

Fokko commented Jun 13, 2025

Sorry for the long wait @b-phi, but thanks for adding this 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add V3 fields to the Datafile
2 participants