[
https://issues.apache.org/jira/browse/CALCITE-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266002#comment-14266002
]
Vladimir Sitnikov commented on CALCITE-548:
-------------------------------------------
{code:java}
+ if (groupSets.size() == IntMath.pow(2, groupSet.cardinality())) {
+ return CUBE;
+ }{code}
I suppose {{groupSets.size()}} is not sufficient to tell if the grouping is
CUBE or not.
Is it?
> Extend induce method to return CUBE and ROLLUP
> ----------------------------------------------
>
> Key: CALCITE-548
> URL: https://issues.apache.org/jira/browse/CALCITE-548
> Project: Calcite
> Issue Type: Bug
> Reporter: Jesus Camacho Rodriguez
> Assignee: Jesus Camacho Rodriguez
> Fix For: 1.0.0-incubating
>
>
> Currently the _induce_ method in the Aggregate class only returns two classes
> of groupings: SIMPLE and OTHER. It needs to be updated to return CUBE and
> ROLLUP values too.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)