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

RemoteDriverTest.testTypeHandling fails east of Greenwich

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0-incubating
    • None
    • None

    Description

      vlsi 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

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

            Dates

              Created:
              Updated:
              Resolved: