hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Camacho Rodriguez (JIRA)" <>
Subject [jira] [Commented] (HIVE-14496) Enable Calcite rewriting with materialized views
Date Fri, 09 Dec 2016 18:12:58 GMT


Jesus Camacho Rodriguez commented on HIVE-14496:

[~ashutoshc], let's try to check this one in. I have addressed the most important comments
in the last patch. In particular:
- Loading all materialized views definitions for all users when HS2 starts (instead of per
- Adding just an additional field for rewrite enabled (instead of creating a 'view descriptor').
This simplified a lot the changes in the scripts to upgrade metastore.

I left for a follow-up:
- Extension of rules to match new patterns.

> Enable Calcite rewriting with materialized views
> ------------------------------------------------
>                 Key: HIVE-14496
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Materialized views
>    Affects Versions: 2.2.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-14496.01.patch, HIVE-14496.02.patch, HIVE-14496.03.patch, HIVE-14496.04.patch,
> Calcite already supports query rewriting using materialized views. We will use it to
support this feature in Hive.
> In order to do that, we need to register the existing materialized views with Calcite
view service and enable the materialized views rewriting rules. 
> We should include a HiveConf flag to completely disable query rewriting using materialized
views if necessary.

This message was sent by Atlassian JIRA

View raw message