tomtongue commented on code in PR #16859:
URL: https://github.com/apache/iceberg/pull/16859#discussion_r4739990114


##########
core/src/main/java/org/apache/iceberg/MetadataLogEntriesTable.java:
##########
@@ -119,6 +172,19 @@ private static StaticDataTask.Row metadataLogEntryToRow(
         // latest snapshot in this file corresponding to the log entry
         latestSnapshotId,
         latestSnapshot != null ? latestSnapshot.schemaId() : null,
-        latestSnapshot != null ? latestSnapshot.sequenceNumber() : null);
+        latestSnapshot != null ? latestSnapshot.sequenceNumber() : null,
+        properties);
+  }
+
+  private static Map<String, String> loadTableProperties(
+      TableMetadata.MetadataLogEntry metadataLogEntry, FileIO io) {
+    try {
+      return TableMetadataParser.read(io, 
metadataLogEntry.file()).properties();
+    } catch (NotFoundException e) {

Review Comment:
   Thanks for pointing this out.  Add the no such key exception handling in 
those lines: https://github.com/apache/iceberg/pull/16859/changes#r4739971044 
as `S3InputStream` and other InputStreams have.



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