hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14496) Enable Calcite rewriting with materialized views
Date Thu, 15 Dec 2016 17:09:58 GMT

    [ https://issues.apache.org/jira/browse/HIVE-14496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15751891#comment-15751891
] 

Ashutosh Chauhan commented on HIVE-14496:
-----------------------------------------

In metastore/if/hive_metastore.thrift can you declare rewrite_enabled as optional and have
that declaration at last in the struct.
+1 with that change, pending QA run.

> Enable Calcite rewriting with materialized views
> ------------------------------------------------
>
>                 Key: HIVE-14496
>                 URL: https://issues.apache.org/jira/browse/HIVE-14496
>             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,
HIVE-14496.05.patch, HIVE-14496.07.patch, HIVE-14496.08.patch, HIVE-14496.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
(v6.3.4#6332)

Mime
View raw message