lipeng...@sensorsdata.cn has uploaded a new patch set (#2). ( 
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, 457 insertions(+), 108 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/50/19150/2
--
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: newpatchset
Gerrit-Change-Id: I110e5e13cec3aa898f115e1ed795ce98e68ef06c
Gerrit-Change-Number: 19150
Gerrit-PatchSet: 2
Gerrit-Owner: Anonymous Coward <lipeng...@sensorsdata.cn>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Xiaoqing Gao <gaoxq...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <borokna...@cloudera.com>

Reply via email to