3636import org .apache .iceberg .MetadataTableUtils ;
3737import org .apache .iceberg .MetadataUpdate ;
3838import org .apache .iceberg .PartitionSpec ;
39- import org .apache .iceberg .RestTable ;
39+ import org .apache .iceberg .RESTTable ;
4040import org .apache .iceberg .Schema ;
4141import org .apache .iceberg .SortOrder ;
4242import org .apache .iceberg .Table ;
@@ -259,10 +259,10 @@ public void initialize(String name, Map<String, String> unresolved) {
259259 this .reporter = CatalogUtil .loadMetricsReporter (mergedProps );
260260
261261 this .reportingViaRestEnabled =
262- PropertyUtil .propertyAsBoolean (
263- mergedProps ,
264- RESTCatalogProperties .METRICS_REPORTING_ENABLED ,
265- RESTCatalogProperties .METRICS_REPORTING_ENABLED_DEFAULT );
262+ PropertyUtil .propertyAsBoolean (
263+ mergedProps ,
264+ RESTCatalogProperties .METRICS_REPORTING_ENABLED ,
265+ RESTCatalogProperties .METRICS_REPORTING_ENABLED_DEFAULT );
266266 this .restServerPlanningEnabled =
267267 PropertyUtil .propertyAsBoolean (mergedProps , REST_SERVER_PLANNING_ENABLED , false );
268268 super .initialize (name , mergedProps );
@@ -469,7 +469,7 @@ public Table loadTable(SessionContext context, TableIdentifier identifier) {
469469
470470 trackFileIO (ops );
471471
472- RestTable restTable = tableSupportsRemoteScanPlanning (ops , finalIdentifier , tableClient );
472+ RESTTable restTable = tableSupportsRemoteScanPlanning (ops , finalIdentifier , tableClient );
473473 if (restTable != null ) {
474474 return restTable ;
475475 }
@@ -486,13 +486,13 @@ public Table loadTable(SessionContext context, TableIdentifier identifier) {
486486 return table ;
487487 }
488488
489- private RestTable tableSupportsRemoteScanPlanning (
489+ private RESTTable tableSupportsRemoteScanPlanning (
490490 TableOperations ops , TableIdentifier finalIdentifier , RESTClient restClient ) {
491491 if (ops .current ().properties ().containsKey (REST_TABLE_SCAN_PLANNING_PROPERTY )) {
492492 boolean tableSupportsRemotePlanning =
493493 ops .current ().propertyAsBoolean (REST_TABLE_SCAN_PLANNING_PROPERTY , false );
494494 if (tableSupportsRemotePlanning && restServerPlanningEnabled ) {
495- return new RestTable (
495+ return new RESTTable (
496496 ops ,
497497 fullTableName (finalIdentifier ),
498498 metricsReporter (paths .metrics (finalIdentifier ), restClient ),
@@ -573,7 +573,7 @@ public Table registerTable(
573573
574574 trackFileIO (ops );
575575
576- RestTable restTable = tableSupportsRemoteScanPlanning (ops , ident , tableClient );
576+ RESTTable restTable = tableSupportsRemoteScanPlanning (ops , ident , tableClient );
577577 if (restTable != null ) {
578578 return restTable ;
579579 }
@@ -837,7 +837,7 @@ public Table create() {
837837
838838 trackFileIO (ops );
839839
840- RestTable restTable = tableSupportsRemoteScanPlanning (ops , ident , tableClient );
840+ RESTTable restTable = tableSupportsRemoteScanPlanning (ops , ident , tableClient );
841841 if (restTable != null ) {
842842 return restTable ;
843843 }
0 commit comments