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

Jesus Camacho Rodriguez edited comment on CALCITE-533 at 12/16/14 6:05 PM:
---------------------------------------------------------------------------

I [extended the rule|https://github.com/apache/incubator-calcite/pull/34], as 
in some cases it seems possible to (partially) push the {{Filter}} through the 
{{Aggregate}} if grouping sets are used if:
- The columns referenced in the {{Filter}} predicate are present in all the 
grouping sets.


was (Author: jcamachorodriguez):
I [extended the rule|https://github.com/apache/incubator-calcite/pull/34], as 
in some cases it seems possible to (partially) push the {{Filter}} through the 
{{Aggregate}} if grouping sets are used if:
- The {{Aggregate}} operator does not include aggregation functions, and
- The columns referenced in the {{Filter}} predicate are present in all the 
grouping sets.

> Support for grouping sets in FilterAggregateTransposeRule
> ---------------------------------------------------------
>
>                 Key: CALCITE-533
>                 URL: https://issues.apache.org/jira/browse/CALCITE-533
>             Project: Calcite
>          Issue Type: Sub-task
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>
> FilterAggregateTransposeRule should support aggregation using grouping sets. 
> Tests to check correctness should be added.



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

Reply via email to