github-actions[bot] commented on code in PR #41882:
URL: https://github.com/apache/beam/pull/41882#discussion_r4786952207


##########
sdks/java/io/iceberg/src/main/java/org/apache/beam/sdk/io/iceberg/maintenance/ReadManifests.java:
##########
@@ -78,7 +78,7 @@ class ReadManifests extends 
PTransform<PCollection<ManifestDescriptor>, PCollect
   static final String MANIFEST_ENTRIES_READ = "manifestEntriesRead";
 
   /** The highest table format version whose manifests this transform can 
read. */
-  @VisibleForTesting static final int MAX_SUPPORTED_FORMAT_VERSION = 3;
+  static final int MAX_SUPPORTED_FORMAT_VERSION = 3;

Review Comment:
   **🟢 Low**: `ReadManifests` still defines its own private 
`checkFormatVersion(Table, String)` helper (lines 177-186) that duplicates the 
new `MaintenanceChecks.checkFormatVersionSupported(Table, String)` check. 
Consider replacing `checkFormatVersion(table, tableIdentifier)` in 
`ReadManifests` with `MaintenanceChecks.checkFormatVersionSupported(table, 
"read manifests")` to keep format version validation consolidated in one place.



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

Reply via email to