fallintoplace opened a new pull request, #2506: URL: https://github.com/apache/iceberg-go/pull/2506
## What - Omit negative retention sentinels from `set-snapshot-ref` JSON. ## Why - Non-positive values mean unset in Go, but JSON still writes negative values. ## Implementation - Normalize negative options to zero before encoding. ## References - [Iceberg spec: snapshot references](https://iceberg.apache.org/spec/#snapshot-references) - [Java `SnapshotRef`](https://github.com/apache/iceberg/blob/main/api/src/main/java/org/apache/iceberg/SnapshotRef.java#L154-L179) - [Java `MetadataUpdate.SetSnapshotRef`](https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/MetadataUpdate.java#L418-L425) -- 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]
