Krisztian Kasa created HIVE-28126: ------------------------------------- Summary: Use added row 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: Improvement Components: Iceberg integration, Materialized views Reporter: Krisztian Kasa Assignee: Krisztian Kasa
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)