You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2016/09/29 20:57:20 UTC
[jira] [Created] (CALCITE-1403) DruidAdapterIT broken
Julian Hyde created CALCITE-1403:
------------------------------------
Summary: DruidAdapterIT broken
Key: CALCITE-1403
URL: https://issues.apache.org/jira/browse/CALCITE-1403
Project: Calcite
Issue Type: Bug
Reporter: Julian Hyde
Assignee: Julian Hyde
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)