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/30 06:14:20 UTC

[jira] [Updated] (CALCITE-1403) DruidAdapterIT broken

     [ https://issues.apache.org/jira/browse/CALCITE-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesus Camacho Rodriguez updated CALCITE-1403:
---------------------------------------------
    Affects Version/s: 1.9.0

> DruidAdapterIT broken
> ---------------------
>
>                 Key: CALCITE-1403
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1403
>             Project: Calcite
>          Issue Type: Bug
>          Components: druid
>    Affects Versions: 1.9.0
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>             Fix For: 1.10.0
>
>
> DruidAdapterIT is currently broken for me. When I run it using
> {noformat}
> cd druid
> mvn -Pit integration-test
> {noformat}
> I get
> {noformat}
> Running org.apache.calcite.test.DruidAdapterIT
> Tests run: 35, Failures: 26, Errors: 3, Skipped: 1, Time elapsed: -673,099.469 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testFilterTimestamp(org.apache.calcite.test.DruidAdapterIT): 
> Expected: a string containing "EnumerableInterpreter\n  BindableAggregate(group=[{}], C=[COUNT()])\n    BindableFilter(condition=[AND(>=(/INT(Reinterpret($91), 86400000), 1997-01-01), <(/INT(Reinterpret($91), 86400000), 1998-01-01), >=(/INT(Reinterpret($91), 86400000), 1997-04-01), <(/INT(Reinterpret($91), 86400000), 1997-05-01))])\n      DruidQuery(table=[[foodmart, foodmart]], intervals=[[1900-01-09T00:00:00.000Z/2992-01-10T00:00:00.000Z]])"
>      but: was "PLAN=EnumerableInterpreter
>   BindableAggregate(group=[{}], C=[COUNT()])
>     BindableFilter(condition=[AND(>=(/INT(Reinterpret($91), 86400000), 1997-01-01), <(/INT(Reinterpret($91), 86400000), 1998-01-01), >=(/INT(Reinterpret($91), 86400000), 1997-04-01), <(/INT(Reinterpret($91), 86400000), 1997-05-01))])
>       DruidQuery(table=[[foodmart, foodmart]], intervals=[[1900-01-08T16:00:00.000-08:00/2992-01-09T16:00:00.000-08:00]])
> "
> {noformat}
> Note the differences in the "intervals" string. Other tests have very similar errors. I am in Pacific time zone, but it shouldn't matter. I get similar errors when I run DruidAdapterIT from Intellij (i.e. without maven-surefire, and without explicitly setting a timezone).



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