Xuanwo commented on code in PR #94:
URL: https://github.com/apache/iceberg-rust/pull/94#discussion_r1390182259
##########
crates/iceberg/src/spec/snapshot.rs:
##########
@@ -72,7 +73,7 @@ pub struct Snapshot {
sequence_number: i64,
/// A timestamp when the snapshot was created, used for garbage
/// collection and table inspection
- timestamp_ms: i64,
+ timestamp_ms: Timestamp,
Review Comment:
We used to have a discussion about this.
https://github.com/apache/iceberg-rust/pull/20#discussion_r1282831488
The general idea is to **use long/int representation**.
We just convert them to chrono types as public API.
---
*By the way, I still believe that directly storing a `DateTime<Utc>` is a
good idea. However, I don't want to reopen a discussion on a topic we've
already reached consensus on.*
--
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]