amogh-jahagirdar commented on code in PR #13400:
URL: https://github.com/apache/iceberg/pull/13400#discussion_r2255402324
##########
core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java:
##########
@@ -465,6 +479,27 @@ 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) {
+ return new RestTable(
+ ops,
+ fullTableName(finalIdentifier),
+ metricsReporter(paths.metrics(finalIdentifier), restClient),
+ this.client,
+ catalogAuth,
Review Comment:
Yeah, more specifically I think this should be a `tableSession` whose parent
session is the `contextualSession`
--
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]