Aggarwal-Raghav commented on code in PR #6750:
URL: https://github.com/apache/hive/pull/6750#discussion_r4081859395


##########
standalone-metastore/metastore-rest-catalog/src/main/java/org/apache/iceberg/rest/HMSCatalogAdapter.java:
##########
@@ -234,14 +238,32 @@ private ConfigResponse config() {
     return castResponse(ConfigResponse.class, 
ConfigResponse.builder().withEndpoints(endpoints).build());
   }
 
+  private <T extends RESTResponse> T executePaginated(
+      Map<String, String> properties,
+      Class<T> responseType,
+      Supplier<Object> unpaginatedTask,
+      BiFunction<String, String, Object> paginatedTask) {
+    String pageToken = PropertyUtil.propertyAsString(properties, PAGE_TOKEN, 
null);

Review Comment:
   Only listNamespaces, listTables, and listViews and listFunctions supports 
pagination based on iceberg spec.



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