dragonknightk opened a new pull request, #2791:
URL: https://github.com/apache/iceberg-go/pull/2791

   ## Rationale for this change
   
   `iceberg expire-snapshots` and `iceberg info` format timestamps with 
`time.RFC3339`, which drops the milliseconds stored in table metadata. PR 2761 
already fixed the same issue for `iceberg snapshots`. These two commands should 
use that same layout.
   
   Fixes #2775
   
   ## What changes are included in this PR?
   
   `expire-snapshots` and `info` now format their timestamps with the same 
layout already used by `iceberg snapshots`.
   
   ## Are these changes tested?
   
   Unit tests cover an `expire-snapshots` timestamp with a nonzero millisecond 
component, a whole-second timestamp that must render as `.000Z`, and the `info` 
last-updated value in the struct, text and JSON output.
   
   ## Are there any user-facing changes?
   
   Yes. Timestamps in `expire-snapshots` and `info` text and JSON output now 
include milliseconds, for example `2019-04-12T20:29:15.770Z` instead of 
`2019-04-12T20:29:15Z`.
   
   ## AI Disclosure
   
   Grok Bot, working for dragonknightk, assisted with the changes, the 
description, and the verification. All content was reviewed by a human, and the 
submitter understands and can maintain these changes.
   


-- 
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]

Reply via email to