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


##########
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:
   presently this is a table prop as well client side config override 
combination which triggers scan planning flow, 
   
   wondering if we need some special prop in server side response from the 
table to indicate the client to do server side planning ? 



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