slfan1989 opened a new pull request, #2794: URL: https://github.com/apache/iceberg-go/pull/2794
Fixes #2775 ### Summary `iceberg expire-snapshots` and `iceberg info` currently truncate timestamps to whole seconds. This PR reuses the timestamp format from `iceberg snapshots` so both commands show UTC timestamps with exactly three fractional digits in text and JSON. For example, `2019-04-12T20:29:15.770Z` retains its full precision, and whole-second timestamps end in `.000Z`. ### Testing Updated the expiration tests to cover timestamps with nonzero milliseconds and timestamps on a whole second. The `info` tests verify the exact last-updated timestamp in both text and JSON output. -- 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]
