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

difin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c1333b42de HIVE-28658: Iceberg: Addendum: Return empty list from 
HiveRESTCatalogClient.getAllMaterializedViewObjectsForRewriting() instead of 
throwing UnsupportedOperationException. (#6130)
9c1333b42de is described below

commit 9c1333b42de876cc21afd7c0a727bc58e795cb0c
Author: Dmitriy Fingerman <[email protected]>
AuthorDate: Fri Oct 17 07:01:51 2025 -0400

    HIVE-28658: Iceberg: Addendum: Return empty list from 
HiveRESTCatalogClient.getAllMaterializedViewObjectsForRewriting() instead of 
throwing UnsupportedOperationException. (#6130)
---
 .../org/apache/iceberg/hive/client/HiveRESTCatalogClient.java  | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git 
a/iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/client/HiveRESTCatalogClient.java
 
b/iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/client/HiveRESTCatalogClient.java
index 64ab42dc9b6..d1e3d289d5f 100644
--- 
a/iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/client/HiveRESTCatalogClient.java
+++ 
b/iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/client/HiveRESTCatalogClient.java
@@ -228,4 +228,14 @@ public void dropDatabase(DropDatabaseRequest req) {
     validateCurrentCatalog(req.getCatalogName());
     restCatalog.dropNamespace(Namespace.of(req.getName()));
   }
+
+  @Override
+  public List<Table> getAllMaterializedViewObjectsForRewriting() {
+    return Collections.emptyList();
+  }
+
+  @Override
+  public List<String> getMaterializedViewsForRewriting(String catName, String 
dbName) {
+    return Collections.emptyList();
+  }
 }

Reply via email to