dimas-b commented on code in PR #5115:
URL: https://github.com/apache/polaris/pull/5115#discussion_r3616091691
##########
runtime/service/src/test/java/org/apache/polaris/service/catalog/iceberg/IcebergAllowedLocationTest.java:
##########
@@ -636,4 +814,48 @@ void
testNativeCredentialVendingRejectsStaleLocationsAfterAllowedLocationsShrink
.isInstanceOf(ForbiddenException.class)
.hasMessageContaining("outside the catalog's current allowed
locations");
}
+
+ private record TestSnapshot(
+ long sequenceNumber,
+ long snapshotId,
+ Long parentId,
+ long timestampMillis,
+ String manifestListLocation)
+ implements Snapshot {
+
+ @Override
+ public List<ManifestFile> allManifests(FileIO io) {
+ return List.of();
+ }
+
+ @Override
+ public List<ManifestFile> dataManifests(FileIO io) {
+ return List.of();
+ }
+
+ @Override
+ public List<ManifestFile> deleteManifests(FileIO io) {
+ return List.of();
+ }
+
+ @Override
+ public String operation() {
+ return "append";
+ }
+
+ @Override
+ public Map<String, String> summary() {
+ return Map.of("operation", operation());
+ }
+
+ @Override
+ public Iterable<DataFile> addedDataFiles(FileIO io) {
Review Comment:
Would you mind suppressing expected deprecation warnings?
--
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]