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

Time zone tests in SqlFunctions should pass in Europe/London

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      The SqlFunctionsTest.testToIntWithTimeZone test fails in the Europe/London time zone. The issue is due to the use of TimeZone.setRawOffset(int) which expects the provided value to be the offset from GMT, but the test provides the offset from UTC.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            freastro Gregory Hart
            freastro Gregory Hart
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h

                Slack

                  Issue deployment