You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2014/11/28 17:02:12 UTC

[jira] [Commented] (CALCITE-461) Convert more planner rules to handle grouping sets

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

Jesus Camacho Rodriguez commented on CALCITE-461:
-------------------------------------------------

[~julianhyde], I have started working on the support of GroupingSets in the translation from Hive to Calcite, and once I pass the GroupingSets to Calcite, I'm hitting the _CALCITE_461_FIXED_ assertion in the trimFields method in [RelFieldTrimmer.java|https://github.com/apache/incubator-calcite/blob/master/core/src/main/java/org/apache/calcite/sql2rel/RelFieldTrimmer.java].
Is that the only method that needs to be adapted at the moment in order to handle GroupingSets correctly?

> Convert more planner rules to handle grouping sets
> --------------------------------------------------
>
>                 Key: CALCITE-461
>                 URL: https://issues.apache.org/jira/browse/CALCITE-461
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Jesus Camacho Rodriguez
>
> Very few planner rules can handle non-simple Aggregates.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)