You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2016/08/23 20:09: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=15433529#comment-15433529 ] 

Julian Hyde commented on CALCITE-1358:
--------------------------------------

How does this relate to CALCITE-1334? See the work that I have already done in https://github.com/julianhyde/calcite/tree/1334-extract-to-range. In particular, see the test cases that work on the EXTRACT function.

> 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)