[email protected] has uploaded this change for review. ( http://gerrit.cloudera.org:8080/19168
Change subject: IMPALA-11681: Set table stats for the Iceberg table by it`s partition stats ...................................................................... IMPALA-11681: Set table stats for the Iceberg table by it`s partition stats For the Iceberg tables, table-level statistics such as numRows can be computed according to iceberg parition stats, which is more accurate and real-time. Obtaining these statistics is independent of StatsSetupConst.ROW_COUNT and StatsSetupConst.TOTAL_SIZE in HMS. This is an improvement for estimating the cardinality of the Iceberg tables. Testing: - Existing tests - For 'select * from iceberg_v2_positional_not_all_data_files_have_delete_files where i = (select max(i) from iceberg_v2_positional_update_all_rows)', the 'Join Order' and 'Distribution Mode' are the same as when table stats are present Change-Id: I3e92d3f25e2a57a64556249410d0af3522598c00 --- M fe/src/main/java/org/apache/impala/catalog/FeIcebergTable.java M fe/src/main/java/org/apache/impala/catalog/IcebergTable.java M testdata/workloads/functional-planner/queries/PlannerTest/iceberg-v2-tables.test 3 files changed, 177 insertions(+), 132 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/68/19168/3 -- To view, visit http://gerrit.cloudera.org:8080/19168 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I3e92d3f25e2a57a64556249410d0af3522598c00 Gerrit-Change-Number: 19168 Gerrit-PatchSet: 3 Gerrit-Owner: Anonymous Coward <[email protected]>
