lipenglin opened a new issue, #5321:
URL: https://github.com/apache/iceberg/issues/5321

   
https://github.com/apache/iceberg/blob/master/core/src/main/java/org/apache/iceberg/util/SnapshotUtil.java#L320
   
   The error message of 
'org.apache.iceberg.util.SnapshotUtil#snapshotIdAsOfTime' shows the timestamp 
in UTC timezone, this can be misleading to users who is in another timezone.
   
   e.g:
   When I snapshotIdAsOfTime('2022-06-17 11:00:00'), the error message show me 
'Cannot find a snapshot older than 2022-06-17 09:00:00', because I'm not in UTC 
timezone.


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