manuzhang commented on code in PR #15232:
URL: https://github.com/apache/iceberg/pull/15232#discussion_r2804849924


##########
core/src/test/java/org/apache/iceberg/rest/RESTCatalogAdapter.java:
##########
@@ -744,9 +736,21 @@ private static String planIDFromPathVars(Map<String, 
String> pathVars) {
   private static SnapshotMode snapshotModeFromQueryParams(Map<String, String> 
queryParams) {
     return SnapshotMode.valueOf(
         queryParams
-            .getOrDefault(
-                RESTCatalogProperties.SNAPSHOTS_QUERY_PARAMETER,
-                RESTCatalogProperties.SNAPSHOT_LOADING_MODE_DEFAULT)
+            .getOrDefault("snapshots", 
RESTCatalogProperties.SNAPSHOT_LOADING_MODE_DEFAULT)
             .toUpperCase(Locale.US));
   }
+
+  /**
+   * Strips the compression suffix from an ETag value.
+   *
+   * <p>Jetty 12 appends "--gzip" to ETags when compression is enabled. This 
method removes such

Review Comment:
   There's an explanation here 
https://github.com/jetty/jetty.project/issues/13047#issuecomment-2830225132



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