leewjae commented on code in PR #8996:
URL: https://github.com/apache/iceberg/pull/8996#discussion_r1385261354
##########
core/src/main/java/org/apache/iceberg/StaticTableOperations.java:
##########
@@ -34,11 +34,24 @@ public class StaticTableOperations implements
TableOperations {
/** Creates a StaticTableOperations tied to a specific static version of the
TableMetadata */
public StaticTableOperations(String metadataFileLocation, FileIO io) {
- this(metadataFileLocation, io, null);
+ this(null, metadataFileLocation, io, null);
+ }
+
+ public StaticTableOperations(TableMetadata staticMetadata, FileIO io) {
+ this(staticMetadata, staticMetadata.metadataFileLocation(), io, null);
}
public StaticTableOperations(
String metadataFileLocation, FileIO io, LocationProvider
locationProvider) {
+ this(null, metadataFileLocation, io, locationProvider);
+ }
+
+ public StaticTableOperations(
+ TableMetadata staticMetadata,
+ String metadataFileLocation,
Review Comment:
done
--
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]