Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-677

RemoteDriverTest.testTypeHandling fails east of Greenwich

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0-incubating
    • Component/s: None
    • Labels:
      None

      Description

      Vladimir Sitnikov Reported:

      java.lang.AssertionError: expected:<1980-12-17> but was:<1980-12-16>
      at org.apache.calcite.avatica.RemoteDriverTest.testTypeHandling(RemoteDriverTest.java:366)
      
      Running 1.8u40, mac, GMT+3.

      It seems that one of Avatica's date-time methods (setTime, setTimestamp, setDate, getTime, getTimestamp, getDate) is ignoring the local timezone in one direction.

        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: