This is an automated email from the ASF dual-hosted git repository.

adutra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new 0a484bb32 fix: Remove duplicated code in IcebergCatalog (#1681)
0a484bb32 is described below

commit 0a484bb32c867178cb2ddac24d1280bab8b34ab6
Author: Alexandre Dutra <[email protected]>
AuthorDate: Tue May 27 16:02:05 2025 +0200

    fix: Remove duplicated code in IcebergCatalog (#1681)
---
 .../apache/polaris/service/catalog/iceberg/IcebergCatalog.java    | 8 --------
 1 file changed, 8 deletions(-)

diff --git 
a/service/common/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalog.java
 
b/service/common/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalog.java
index 6cd5847c9..c972b2b64 100644
--- 
a/service/common/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalog.java
+++ 
b/service/common/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalog.java
@@ -260,14 +260,6 @@ public class IcebergCatalog extends 
BaseMetastoreViewCatalog
     closeableGroup.addCloseable(metricsReporter());
     closeableGroup.setSuppressCloseFailure(true);
 
-    tableDefaultProperties =
-        PropertyUtil.propertiesWithPrefix(properties, 
CatalogProperties.TABLE_DEFAULT_PREFIX);
-
-    callContext.closeables().addCloseable(this);
-    this.closeableGroup = new CloseableGroup();
-    closeableGroup.addCloseable(metricsReporter());
-    closeableGroup.setSuppressCloseFailure(true);
-
     tableDefaultProperties =
         PropertyUtil.propertiesWithPrefix(properties, 
CatalogProperties.TABLE_DEFAULT_PREFIX);
   }

Reply via email to