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 2016/09/01 06:58:20 UTC

[jira] [Commented] (CALCITE-1358) Push filters on time dimension to Druid

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

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

Yes, this is a good idea. I did not know it could be done that way; I could use floor to infer the granularity, instead of defining custom functions. I will change the code accordingly.

> Push filters on time dimension to Druid
> ---------------------------------------
>
>                 Key: CALCITE-1358
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1358
>             Project: Calcite
>          Issue Type: Bug
>          Components: druid
>    Affects Versions: 1.9.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>
> Porting work done in HIVE-14217.
> Logic should split the filter conditions into two parts: those predicates referred to the time dimension, and predicates referred to other columns.
> Then, the predicates on the time dimension should be translated into Druid intervals, possibly consolidating those ranges e.g. to detect overlapping. The other predicates will go into the Druid filter field.



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