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 2017/06/02 10:10:04 UTC

[jira] [Commented] (CALCITE-1825) Rule to split a Project into expressions that can and cannot be pushed into Druid

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

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

FWIW, current DruidFilter rule already has logic to split the Filter expressions that can be pushed to Druid vs those that cannot:
https://github.com/apache/calcite/blob/master/druid/src/main/java/org/apache/calcite/adapter/druid/DruidRules.java#L199

> Rule to split a Project into expressions that can and cannot be pushed into Druid
> ---------------------------------------------------------------------------------
>
>                 Key: CALCITE-1825
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1825
>             Project: Calcite
>          Issue Type: Bug
>          Components: druid
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>
> Create a rule that can split the expressions in a Project (and optionally also a Filter) into pieces that can be pushed down to Druid and pieces that cannot. 
> There is class CalcRelSplitter that can split expressions in a Project and Filter according to specified criteria. An existing rule, ProjectToWindowRule, that uses a sub-class of CalcRelSplitter. This rule could be built along similar lines.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)