[email protected] has uploaded this change for review. ( http://gerrit.cloudera.org:8080/19150
Change subject: IMPALA-11608: Fix SHOW TABLE STATS iceberg_tbl shows wrong number of files ...................................................................... IMPALA-11608: Fix SHOW TABLE STATS iceberg_tbl shows wrong number of files Impala SHOW TABLE stats outputs wrong value for number of files for Iceberg tables. It should only calculate the number of data files and delete files, but it calculates all files under the table directory, including metadata files, orphaned files, and old data files not belonging to the current snapshot. Testing: - add e2e tests Change-Id: I110e5e13cec3aa898f115e1ed795ce98e68ef06c --- M common/thrift/CatalogObjects.thrift M fe/src/main/java/org/apache/impala/catalog/FeFsTable.java M fe/src/main/java/org/apache/impala/catalog/FeIcebergTable.java M fe/src/main/java/org/apache/impala/service/Frontend.java M testdata/workloads/functional-query/queries/QueryTest/iceberg-compute-stats.test M testdata/workloads/functional-query/queries/QueryTest/iceberg-v2-read-position-deletes-orc.test M testdata/workloads/functional-query/queries/QueryTest/iceberg-v2-read-position-deletes.test 7 files changed, 443 insertions(+), 100 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/50/19150/1 -- To view, visit http://gerrit.cloudera.org:8080/19150 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I110e5e13cec3aa898f115e1ed795ce98e68ef06c Gerrit-Change-Number: 19150 Gerrit-PatchSet: 1 Gerrit-Owner: Anonymous Coward <[email protected]>
