Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.0
    • Fix Version/s: 1.10.0
    • Component/s: druid
    • Labels:
      None

      Description

      DruidAdapterIT is currently broken for me. When I run it using

      cd druid
      mvn -Pit integration-test
      

      I get

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

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

        Attachments

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              julianhyde Julian Hyde
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: