You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/07/02 06:17:00 UTC

[jira] [Commented] (IMPALA-9898) Plan generation and execution for ROLLUP, CUBE and GROUPING SETS

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

ASF subversion and git services commented on IMPALA-9898:
---------------------------------------------------------

Commit 40d037549dc69ac85c0096c4e9db620d8523611b in impala's branch refs/heads/master from Aman Sinha
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=40d0375 ]

IMPALA-9898: Plan generation and execution for grouping sets

This patch enhances the MultiAggregateInfo to handle grouping sets
and rollup (which is converted to grouping sets). This patch does
not itself do parsing/validation of grouping sets syntax but rather
provides the following supporting functionality:
  - A separate analyze method that accepts aggregation classes and
    aggregation info that have been created separately.
  - A modified Transpose phase that uses combination of aggif(),
    valid_tid() functions and CASE exprs to choose exactly which
    slots from the underlying aggregate classes need to be output
    based on the tuple id.
  - Modified materialization step where all aggregate slots and
    grouping slots are materialized in case of grouping sets.
  - Creates grouping_id value for grouping sets. The grouping_id
    function in SQL describes which expression is grouped-by in a
    particular row of a query with grouping sets.

Testing:
  This patch is not individually testable but will be tested
  as part of the overall grouping set support.

Change-Id: Id474c5373860b0d8014ee9c844a3fb90092be968
Reviewed-on: http://gerrit.cloudera.org:8080/16115
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Plan generation and execution for ROLLUP, CUBE and GROUPING SETS
> ----------------------------------------------------------------
>
>                 Key: IMPALA-9898
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9898
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Frontend
>            Reporter: Tim Armstrong
>            Assignee: Aman Sinha
>            Priority: Major
>
> This would build on the infrastructure added in IMPALA-110 to actually execute the queries.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org