Revanth14 opened a new pull request, #2183: URL: https://github.com/apache/iceberg-go/pull/2183
## Problem The v2 `data_file` Avro schema has no `referenced_data_file` (143), so iceberg-go drops the field when it writes v2 manifests, including when it rewrites manifests that Java wrote with the field set. The spec marks the field optional in v2 for position delete files whose deletes all reference one data file, and Java's `V2Metadata` includes it. ## Fix Add `referenced_data_file` to the v2 `data_file` schema after `sort_order_id`, matching Java's field order. ## Tests `TestV2ManifestKeepsReferencedDataFile`: a v2 delete manifest round-trips `referenced_data_file`. Part of #2167. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
