Xiaoqing Gao has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18641


Change subject: IMPALA-11320: SHOW PARTITIONS on Iceberg table doesn't list the 
partitions
......................................................................

IMPALA-11320: SHOW PARTITIONS on Iceberg table doesn't list the partitions

Currently, SHOW PARTITIONS on Iceberg tables only outputs the partition spec 
which is not too useful.

Instead it should output the concrete partitions, number of files, number of 
rows in each partitions,
E.g.:

SHOW PARTITIONS iceberg_partitioned;

'{"event_time_hour":"438296","action":"view"}',8,8
'{"event_time_hour":"438297","action":"click"}',6,6
'{"event_time_hour":"438298","action":"download"}',6,6

Change-Id: I3b4399ae924dadb89875735b12a2f92453b6754c
---
M common/thrift/CatalogObjects.thrift
M fe/src/main/java/org/apache/impala/catalog/FeIcebergTable.java
M fe/src/main/java/org/apache/impala/catalog/IcebergTable.java
M fe/src/main/java/org/apache/impala/catalog/iceberg/IcebergCtasTarget.java
M fe/src/main/java/org/apache/impala/catalog/local/LocalIcebergTable.java
M testdata/workloads/functional-query/queries/QueryTest/iceberg-alter.test
M testdata/workloads/functional-query/queries/QueryTest/iceberg-create.test
M testdata/workloads/functional-query/queries/QueryTest/iceberg-query.test
8 files changed, 112 insertions(+), 76 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/41/18641/1
-- 
To view, visit http://gerrit.cloudera.org:8080/18641
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b4399ae924dadb89875735b12a2f92453b6754c
Gerrit-Change-Number: 18641
Gerrit-PatchSet: 1
Gerrit-Owner: Xiaoqing Gao <gaoxq...@gmail.com>

Reply via email to