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-19114) MV rewriting not being triggered for last query in materialized_view_rewrite_4.q
Date Tue, 14 Aug 2018 20:24:00 GMT

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

Ashutosh Chauhan commented on HIVE-19114:
-----------------------------------------

[~jcamachorodriguez] Is this still an issue?

> MV rewriting not being triggered for last query in materialized_view_rewrite_4.q
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-19114
>                 URL: https://issues.apache.org/jira/browse/HIVE-19114
>             Project: Hive
>          Issue Type: Bug
>          Components: Materialized views
>    Affects Versions: 3.0.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Critical
>
> {code:sql}
> create materialized view mv1 enable rewrite as
> select dependents.empid, emps.deptno, count(distinct salary) as s
> from emps
> join dependents on (emps.empid = dependents.empid)
> group by dependents.empid, emps.deptno;
> select emps.deptno, count(distinct salary) as s
> from emps
> join dependents on (emps.empid = dependents.empid)
> group by dependents.empid, emps.deptno;
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message