singhpk234 commented on code in PR #13400:
URL: https://github.com/apache/iceberg/pull/13400#discussion_r2360727243


##########
core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java:
##########
@@ -465,6 +479,26 @@ public Table loadTable(SessionContext context, 
TableIdentifier identifier) {
     return table;
   }
 
+  private RESTTable tableSupportsRemoteScanPlanning(
+      TableOperations ops, TableIdentifier finalIdentifier, RESTClient 
restClient) {
+    if 
(ops.current().properties().containsKey(REST_TABLE_SCAN_PLANNING_PROPERTY)) {
+      boolean tableSupportsRemotePlanning =
+          ops.current().propertyAsBoolean(REST_TABLE_SCAN_PLANNING_PROPERTY, 
false);
+      if (tableSupportsRemotePlanning && restServerPlanningEnabled) {

Review Comment:
   Agree, then i will just refactor to check the `/config` response to whether 
server supports this and then the client side intention for now, will comeback 
on it later !



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