rdblue commented on code in PR #7770:
URL: https://github.com/apache/iceberg/pull/7770#discussion_r1561258031


##########
api/src/main/java/org/apache/iceberg/Snapshot.java:
##########
@@ -162,6 +162,25 @@ default Iterable<DeleteFile> removedDeleteFiles(FileIO io) 
{
    */
   String manifestListLocation();
 
+  /**
+   * In encrypted tables, return the size of this snapshot's manifest list 
file. Must be a verified
+   * value, taken from a trusted source. In unencrypted tables, can return 0.
+   */
+  default long manifestListSize() {

Review Comment:
   Rather than adding new methods for each piece of new information we want to 
pass, what about adding a `ManifestList` object that contains the location, 
size, and key metadata?



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to