[
https://issues.apache.org/jira/browse/CALCITE-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-1403.
----------------------------------
Resolution: Fixed
Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/73544eda.
> 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)