[ https://issues.apache.org/jira/browse/HIVE-21634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16823322#comment-16823322 ]
Jesus Camacho Rodriguez commented on HIVE-21634: ------------------------------------------------ [~ashutoshc], [~vgarg], can you review this PR? https://github.com/apache/hive/pull/602 Thanks > Materialized view rewriting over aggregate operators containing with grouping > sets > ---------------------------------------------------------------------------------- > > Key: HIVE-21634 > URL: https://issues.apache.org/jira/browse/HIVE-21634 > Project: Hive > Issue Type: Improvement > Components: Materialized views > Reporter: Jesus Camacho Rodriguez > Assignee: Jesus Camacho Rodriguez > Priority: Major > Labels: pull-request-available > Attachments: HIVE-21634.patch > > Time Spent: 10m > Remaining Estimate: 0h > > A possible approach to support rewriting queries with an aggregate with > grouping sets is implementing a rule that splits the aggregate in the query > into an aggregate without grouping sets (bottom) and an aggregate with > grouping sets (top). Then the materialized view rewriting rule will trigger > on the former. -- This message was sent by Atlassian JIRA (v7.6.3#76005)