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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9f78f4533 IMPALA-14826: exclude file descriptors from Iceberg tables 
on webui/json
9f78f4533 is described below

commit 9f78f4533d66fc7b04d6588aeed88ee06a5a2076
Author: Csaba Ringhofer <[email protected]>
AuthorDate: Tue Mar 10 18:55:41 2026 +0100

    IMPALA-14826: exclude file descriptors from Iceberg tables on webui/json
    
    IMPALA-12840 implemented this for HDFS tables, but Iceberg tables still
    included files (not sure if this was always the case or there was some
    changed that triggered this).
    
    Note that toHumanReadableThrift() is used only when showing an object
    as JSON on the webui - the default is Thrift printed as JSON and
    it still contains file descriptors.
    
    Change-Id: Ia696b872a189aabefcc25607ad514aea948dcf9e
    Reviewed-on: http://gerrit.cloudera.org:8080/24087
    Reviewed-by: Impala Public Jenkins <[email protected]>
    Tested-by: Impala Public Jenkins <[email protected]>
---
 fe/src/main/java/org/apache/impala/catalog/IcebergTable.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fe/src/main/java/org/apache/impala/catalog/IcebergTable.java 
b/fe/src/main/java/org/apache/impala/catalog/IcebergTable.java
index 579e049b3..176ed01ab 100644
--- a/fe/src/main/java/org/apache/impala/catalog/IcebergTable.java
+++ b/fe/src/main/java/org/apache/impala/catalog/IcebergTable.java
@@ -422,7 +422,8 @@ public class IcebergTable extends Table implements 
FeIcebergTable {
   public TTable toHumanReadableThrift() {
     TTable table = super.toThrift();
     table.setTable_type(TTableType.ICEBERG_TABLE);
-    table.setIceberg_table(Utils.getTIcebergTable(this));
+    table.setIceberg_table(
+        Utils.getTIcebergTable(this, ThriftObjectType.DESCRIPTOR_ONLY));
     table.setHdfs_table(transformToTHdfsTable(true, 
ThriftObjectType.DESCRIPTOR_ONLY));
     return table;
   }

Reply via email to