You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2023/03/28 15:03:00 UTC

[jira] [Created] (HIVE-27187) Incremental rebuild of materialized view stored by iceberg

Krisztian Kasa created HIVE-27187:
-------------------------------------

             Summary: Incremental rebuild of materialized view stored by iceberg
                 Key: HIVE-27187
                 URL: https://issues.apache.org/jira/browse/HIVE-27187
             Project: Hive
          Issue Type: Improvement
          Components: Iceberg integration, Materialized views
            Reporter: Krisztian Kasa
            Assignee: Krisztian Kasa


Currently incremental rebuild of materialized view stored by iceberg which definition query contains aggregate operator is transformed to an insert overwrite statement which contains a union operator if the source tables contains insert operations only. One branch of the union scans the view the other produces the delta.

This can be improved further: transform the statement to a multi insert statement representing a merge statement to insert new aggregations and update existing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)