[ https://issues.apache.org/jira/browse/HIVE-28126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krisztian Kasa resolved HIVE-28126. ----------------------------------- Fix Version/s: 4.1.0 Resolution: Fixed Merged to master. Thanks [~dkuzmenko] and [~okumin] for review. > Use added record count in cost model when rebuilding materialized view > stored by iceberg > ----------------------------------------------------------------------------------------- > > Key: HIVE-28126 > URL: https://issues.apache.org/jira/browse/HIVE-28126 > Project: Hive > Issue Type: Sub-task > Components: Iceberg integration, Materialized views > Reporter: Krisztian Kasa > Assignee: Krisztian Kasa > Priority: Major > Labels: pull-request-available > Fix For: 4.1.0 > > > There is a cost based decision when rebuilding materialized views having > aggregate. > Currently the cost model has the total count of rows of source table however > incremental rebuild plan scans only the rows inserted since the last MV > rebuild. > The goal is to update the row count in the cost model in case of Iceberg > source tables with the sum of the {{added-records}} stored in snapshots > summary since the last Mv rebuild. -- This message was sent by Atlassian Jira (v8.20.10#820010)