amogh-jahagirdar commented on code in PR #19019:
URL: https://github.com/apache/iceberg/pull/19019#discussion_r4764770610


##########
api/src/main/java/org/apache/iceberg/ContentFile.java:
##########
@@ -183,6 +183,19 @@ default Long fileSequenceNumber() {
     return null;
   }
 
+  /**
+   * Returns the microsecond timestamp of the snapshot that added or last 
modified the file's data.
+   *
+   * <p>The value is the snapshot's {@code timestamp-ms} converted to 
microseconds and is assigned
+   * at commit.
+   *
+   * <p>Returns null if the snapshot timestamp is unknown. This may happen for 
files in tables with

Review Comment:
   I'd maybe condense this API doc to
   
   ```
   Returns the timestamp, in microseconds, of the snapshot that added or last 
modified this file. This is the snapshot's `timestamp-ms` converted to 
microseconds, assigned at commit.
   
   <p> existing paragraph for null if unknown, etc </p>
   ```
   
   Not blocking tho, maybe something in the follow up PR.



##########
api/src/main/java/org/apache/iceberg/ContentFile.java:
##########
@@ -183,6 +183,19 @@ default Long fileSequenceNumber() {
     return null;
   }
 
+  /**
+   * Returns the microsecond timestamp of the snapshot that added or last 
modified the file's data.
+   *
+   * <p>The value is the snapshot's {@code timestamp-ms} converted to 
microseconds and is assigned
+   * at commit.
+   *
+   * <p>Returns null if the snapshot timestamp is unknown. This may happen for 
files in tables with

Review Comment:
   Just noticed "May Happen" is a weird API contract to define but it is 
consistent with some of our other Java docs. 



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